From 3ac29a0216395dce222c366c27a25c4dc3622bad 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}