projects
/
WP-Plugins
/
glm-member-db.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b10398
)
Update stand template params to deal with no action.
author
Steve Sutton
<steve@gaslightmedia.com>
Thu, 1 Sep 2016 14:55:56 +0000
(10:55 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Thu, 1 Sep 2016 14:55:56 +0000
(10:55 -0400)
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
patch
|
blob
|
history
diff --git
a/setup/standardTemplateParams.php
b/setup/standardTemplateParams.php
index
4f8f261
..
295b203
100644
(file)
--- 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: '' )
);
}
-
-
-
-
-