Skip to content

Commit

Permalink
Bug Undefined index navwork
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Delisle <marc@infomarc.info>
  • Loading branch information
lem9 committed Feb 7, 2015
1 parent d78539e commit 6dc728a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/navigation/Nodes/Node_Database.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ public function getData($type, $pos, $searchClause = '')

// Remove hidden items so that they are not displayed in navigation tree
$cfgRelation = PMA_getRelationsParam();
if ($cfgRelation['navwork']) {
if (isset($cfgRelation['navwork']) && $cfgRelation['navwork']) {
$navTable = PMA_Util::backquote($cfgRelation['db'])
. "." . PMA_Util::backquote($cfgRelation['navigationhiding']);
$sqlQuery = "SELECT `item_name` FROM " . $navTable
Expand Down

0 comments on commit 6dc728a

Please sign in to comment.