diff --git a/templates/flash_error.tpl b/templates/flash_error.tpl index babec2e3..61fdbd75 100644 --- a/templates/flash_error.tpl +++ b/templates/flash_error.tpl @@ -1,15 +1,15 @@

{strip} - {if $smarty.session.flash} - {if $smarty.session.flash.info} + {if isset($smarty.session.flash)} + {if isset($smarty.session.flash.info)} {/if} - {if $smarty.session.flash.error} + {if isset($smarty.session.flash.error)} {/if} {/if} -{/strip} \ No newline at end of file +{/strip}