Details
Description
Suppose you have this in a template:
{let $var='test'} {/let}
This will cause PHP warnings:
array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in lib/eztemplate/classes/eztemplatesetfunction.php on line 433 Invalid argument supplied for foreach() in lib/eztemplate/classes/eztemplatesetfunction.php on line 433
I know empty let and default blocks do not make sense, but they shouldn't throw PHP warnings. Maybe the users should get another meaningful warning?