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:
72fee9b
)
Check with isset first
author
Steve Sutton
<steve@gaslightmedia.com>
Thu, 26 Oct 2017 15:08:42 +0000
(11:08 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Thu, 26 Oct 2017 15:08:42 +0000
(11:08 -0400)
Need to check to see if this exists.
controllers/front.php
patch
|
blob
|
history
diff --git
a/controllers/front.php
b/controllers/front.php
index
146246b
..
7357523
100644
(file)
--- a/
controllers/front.php
+++ b/
controllers/front.php
@@
-520,7
+520,7
@@
class glmMembersFront extends GlmPluginSupport
}
// Check if there's also a menu item change
- if ($results['menuItemRedirect']) {
+ if (
isset($results['menuItemRedirect']) &&
$results['menuItemRedirect']) {
$menuItem = $results['menuItemRedirect'];
}