diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2007-04-06 04:39:51 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2007-04-06 04:39:51 +0000 |
commit | f3cd2da113853bef53b733a09a92e59c04d5ec51 (patch) | |
tree | 4d73f51c97e77177687b854a609ef01024aab51a /modules/system/system.module | |
parent | c504141f457401cd26adc6ea47f251e99cf930c9 (diff) | |
download | brdo-f3cd2da113853bef53b733a09a92e59c04d5ec51.tar.gz brdo-f3cd2da113853bef53b733a09a92e59c04d5ec51.tar.bz2 |
#130991: Custom menu items, part 1
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) { |