From 2f8b6814b2429abc2e41ebb0e25552606f00d078 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 1 Sep 2016 10:55:56 -0400 Subject: [PATCH] Update stand template params to deal with no action. In cases where we are using the smarty templates that are not using action we need to set this to an empty string. --- setup/standardTemplateParams.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/setup/standardTemplateParams.php b/setup/standardTemplateParams.php index 4f8f261a..295b203b 100644 --- a/setup/standardTemplateParams.php +++ b/setup/standardTemplateParams.php @@ -54,11 +54,6 @@ if (is_admin()) { // Front specific $smarty->templateAssign('frontDebug', GLM_MEMBERS_PLUGIN_FRONT_DEBUG); $smarty->templateAssign('errorMsg', $errorMsg); - $smarty->templateAssign('thisAction', $action); + $smarty->templateAssign('thisAction', ((isset($action)) ? $action: '' ) ); } - - - - - -- 2.17.1