mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Fix for PHP 5.3
This commit is contained in:
parent
7c557e8717
commit
81b17331b7
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user