Fix for PHP 5.3

This commit is contained in:
bzick 2014-06-29 14:56:10 +04:00
parent 7c557e8717
commit 81b17331b7

View File

@ -1016,7 +1016,7 @@ class Compiler
*/ */
public static function tagUnset(Tokenizer $tokens, Tag $tag) public static function tagUnset(Tokenizer $tokens, Tag $tag)
{ {
$unset = []; $unset = array();
while($tokens->valid()) { while($tokens->valid()) {
$unset[] = $tag->tpl->parseVariable($tokens); $unset[] = $tag->tpl->parseVariable($tokens);
} }