Skip to content

Commit

Permalink
fix missing command when building menus
Browse files Browse the repository at this point in the history
  • Loading branch information
dleffler committed Feb 17, 2017
1 parent be17f53 commit 0d61249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/modules/administration/menus/y-navigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

// determine if the Pages menu should NOT be displayed
if ($user->globalPerm('hide_pages_menu'))
false;
return false;

if (!$user->isAdmin()) {
$pageperms = $db->selectValue('userpermission', 'uid', "uid='" . $user->id . "' AND source='' AND internal!=''");
Expand Down

0 comments on commit 0d61249

Please sign in to comment.