Fix tests for PHP 5.3

This commit is contained in:
Ivan Shalganov 2014-02-22 20:56:21 +04:00
parent d5a9ea5740
commit 9c0cea5934

View File

@ -575,12 +575,12 @@ class Compiler
} }
} }
$tpl->blocks[$scope["name"]] = [ $tpl->blocks[$scope["name"]] = array(
"from" => $tpl->getName(), "from" => $tpl->getName(),
"import" => false, "import" => false,
"use_parent" => $scope["use_parent"], "use_parent" => $scope["use_parent"],
"block" => $scope->getContent() "block" => $scope->getContent()
]; );
} }
/** /**