From: Steve Sutton Date: Thu, 26 Oct 2017 15:08:42 +0000 (-0400) Subject: Check with isset first X-Git-Tag: v2.10.23^2~27^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=97b9e402c538bb80e74375ce04093b1c4284b644;p=WP-Plugins%2Fglm-member-db.git Check with isset first Need to check to see if this exists. --- diff --git a/controllers/front.php b/controllers/front.php index 146246bd..73575238 100644 --- 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']; }