Author: Raymond Bosman Date: 2007-02-15 16:07:32 +0100 (Thu, 15 Feb 2007) New Revision: 4659
Log: - Possible bug fix, needs testing. Modified: trunk/Template/src/parsers/tst_to_ast/implementations/tst_to_ast_cached_transformer.php Modified: trunk/Template/src/parsers/tst_to_ast/implementations/tst_to_ast_cached_transformer.php =================================================================== --- trunk/Template/src/parsers/tst_to_ast/implementations/tst_to_ast_cached_transformer.php 2007-02-15 13:40:41 UTC (rev 4658) +++ trunk/Template/src/parsers/tst_to_ast/implementations/tst_to_ast_cached_transformer.php 2007-02-15 15:07:32 UTC (rev 4659) @@ -378,7 +378,17 @@ foreach ( $this->preparedCache->useVariableTst as $useVariable) { $use = $useVariable->accept($this); - $this->programNode->appendStatement( $use ); + if( is_array( $use ) ) + { + foreach ( $use as $u ) + { + $this->programNode->appendStatement( $u ); + } + } + else + { + $this->programNode->appendStatement( $use ); + } } $this->addCacheKeys( $this->programNode, $cacheKeys ); -- svn-components mailing list svn-components@lists.ez.no http://lists.ez.no/mailman/listinfo/svn-components