From 0c2e70bb2b284490c99f89dc10c44950a92fc94b Mon Sep 17 00:00:00 2001 From: botanic Date: Mon, 8 Sep 2014 02:57:09 -0700 Subject: [PATCH] fix index issue --- 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 6515416a2..af5ea099d 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 $arrkey eq $smarty.get.name} + {if isset($hook_info[$arrkey]['TemplatePath'])} {include file=$element['TemplatePath']} {/if} {/foreach}