summaryrefslogtreecommitdiff
path: root/modules/system/system.module
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2008-02-04 12:07:23 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2008-02-04 12:07:23 +0000
commit39d28bd43e4418632c1a755e9b948058f748a9f4 (patch)
treefc50613c6d8b7d005131016218de51bb5a3249d6 /modules/system/system.module
parent38332f801e82da0a5bb32c06a112d42aad12a0ba (diff)
downloadbrdo-39d28bd43e4418632c1a755e9b948058f748a9f4.tar.gz
brdo-39d28bd43e4418632c1a755e9b948058f748a9f4.tar.bz2
#215858 by pwolanin: localized menu options were saved into the database, avoid this by using different variable names / array keys
Diffstat (limited to 'modules/system/system.module')
-rw-r--r--modules/system/system.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index a7619c207..329cc03e3 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -629,8 +629,8 @@ function system_admin_menu_block($item) {
}
// The link 'description' either derived from the hook_menu 'description' or
// entered by the user via menu module is saved as the title attribute.
- if (!empty($item['options']['attributes']['title'])) {
- $item['description'] = $item['options']['attributes']['title'];
+ if (!empty($item['localized_options']['attributes']['title'])) {
+ $item['description'] = $item['localized_options']['attributes']['title'];
}
// Prepare for sorting as in function _menu_tree_check_access().
// The weight is offset so it is always positive, with a uniform 5-digits.