mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Fix test operator for php 5.3
This commit is contained in:
parent
67e7ea0b9e
commit
050523f249
@ -108,7 +108,7 @@ class Template extends Render {
|
||||
'array' => 'is_array(%s)',
|
||||
'iterable' => '\Fenom\Modifier::isIterable(%s)',
|
||||
'const' => 'defined(%s)',
|
||||
'template' => '$this->getStorage()->templateExists(%s)',
|
||||
'template' => '$tpl->getStorage()->templateExists(%s)',
|
||||
'empty' => 'empty(%s)',
|
||||
'set' => 'isset(%s)',
|
||||
'_empty' => '!%s', // for none variable
|
||||
|
Loading…
Reference in New Issue
Block a user