When myvar is set, this does not work.
{if myvar}DO STUFF{/if}However with the following…
{if {myvar}}DO STUFF{/if}When myvar is set to an empty string or false it causes the template to stop rendering and outputs the following error:
Parse error: syntax error, unexpected ‘)’ in /home/admintel/public_html/ee/ee_sys/core/core.functions.php(637) : eval()‘d code on line 115
Fatal error: Call to undefined function ob_end() in /home/admintel/public_html/index_to_include.php on line 217
ExpressionEngine 1.6.7
Build: 20090320