diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-02-12 14:06:58 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-02-12 14:06:58 +0000 |
commit | 45b0040e55b4b5dd8b125a2334ce5f246d7336c3 (patch) | |
tree | 68bbde9e0df647a9cd1b48481ee54710647884bb | |
parent | a2d870ba2eed7a63a3b757b7686ae37f18779199 (diff) | |
download | brdo-45b0040e55b4b5dd8b125a2334ce5f246d7336c3.tar.gz brdo-45b0040e55b4b5dd8b125a2334ce5f246d7336c3.tar.bz2 |
- Patch #219366 by pwolanin: cannot add external links to admin interface.
-rw-r--r-- | modules/system/system.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index 21ca0bf71..bfba1446f 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -618,9 +618,9 @@ function system_admin_menu_block($item) { $item += db_fetch_array(db_query("SELECT mlid, menu_name FROM {menu_links} ml WHERE ml.router_path = '%s' AND module = 'system'", $item['path'])); } $result = db_query(" - SELECT m.*, ml.* + SELECT m.load_functions, m.to_arg_functions, m.access_callback, m.access_arguments, m.page_callback, m.page_arguments, m.title, m.title_callback, m.title_arguments, m.type, m.description, ml.* FROM {menu_links} ml - INNER JOIN {menu_router} m ON ml.router_path = m.path + LEFT JOIN {menu_router} m ON ml.router_path = m.path WHERE ml.plid = %d AND ml.menu_name = '%s' AND hidden = 0", $item['mlid'], $item['menu_name']); while ($item = db_fetch_array($result)) { _menu_link_translate($item); |