what is the code for smarty for if (!isset($var)){ ?
if (!isset($var)){
if using {if $x eq \'5\'} when $x is not defined in smarty , it gives an error function call
function call
Try this.
{if $missing_var|default:FALSE} NOT MISSING {else} MISSING {/if}