From d39729d99829ece711b0fe3c25d0a4cd26f867b7 Mon Sep 17 00:00:00 2001 From: botanic Date: Mon, 8 Sep 2014 03:04:34 -0700 Subject: [PATCH] fix notice --- code/web/public_php/ams/templates/layout.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/web/public_php/ams/templates/layout.tpl b/code/web/public_php/ams/templates/layout.tpl index 7a436859e..e6cfba3e0 100644 --- a/code/web/public_php/ams/templates/layout.tpl +++ b/code/web/public_php/ams/templates/layout.tpl @@ -137,7 +137,7 @@ {if isset($hook_info)}
{foreach from=$hook_info key=arrkey item=element} - {if $smarty.get.page eq 'layout_plugin'} + {if isset($smarty.get.page) and $smarty.get.page eq 'layout_plugin'} {include file=$element['TemplatePath']} {/if} {/foreach}