Fix test operator for php 5.3

This commit is contained in:
bzick 2013-07-22 18:36:48 +04:00
parent 67e7ea0b9e
commit 050523f249

View File

@ -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