diff options
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index bbad3def2..02fc04681 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -378,7 +378,7 @@ function system_main_admin_page($arg = NULL) { function system_admin_menu_block($item) { $map = arg(NULL); $content = array(); - $result = db_query('SELECT * FROM {menu} WHERE depth = %d AND %d < mleft AND mright < %d ORDER BY mleft', $item->depth + 1, $item->mleft, $item->mright); + $result = db_query('SELECT * FROM {menu} WHERE depth = %d AND %d < mleft AND mright < %d AND visible = 1 ORDER BY mleft', $item->depth + 1, $item->mleft, $item->mright); while ($item = db_fetch_object($result)) { _menu_translate($item, $map, MENU_RENDER_LINK); if (!$item->access) { |