projects
/
WP-Plugins
/
glm-member-db-leads.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e81eba
)
Remove notice
author
Steve Sutton
<steve@gaslightmedia.com>
Mon, 27 Feb 2017 19:45:39 +0000
(14:45 -0500)
committer
Steve Sutton
<steve@gaslightmedia.com>
Mon, 27 Feb 2017 19:45:39 +0000
(14:45 -0500)
Notice from array if there's no contact plugin enabled.
setup/adminMenus.php
patch
|
blob
|
history
diff --git
a/setup/adminMenus.php
b/setup/adminMenus.php
index
33e395f
..
ddba5b6
100644
(file)
--- a/
setup/adminMenus.php
+++ b/
setup/adminMenus.php
@@
-61,7
+61,7
@@
add_submenu_page(
);
// If a contact is logged in (ownEntity isn't false), add Contact Profile menu item
-if ( $this->config['loggedInUser']['contactUser'] ) {
+if (
isset( $this->config['loggedInUser']['contactUser'] ) &&
$this->config['loggedInUser']['contactUser'] ) {
add_submenu_page(
$mainMenuSlug,
'Leads',