diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-12-08 07:09:43 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-12-08 07:09:43 +0000 |
commit | 3254e88fdef94b82012f0ff5c7f3fd55a4766361 (patch) | |
tree | fc9bf9adcede1006aa03347a68ee1f53d62455c7 /includes | |
parent | 8e22c48576e4f999137d1e01b3cd91f915752b97 (diff) | |
download | brdo-3254e88fdef94b82012f0ff5c7f3fd55a4766361.tar.gz brdo-3254e88fdef94b82012f0ff5c7f3fd55a4766361.tar.bz2 |
#651712 by carlos8f: Fixed bug where rendered menu tree links do not include proper attributes (with tests).
Diffstat (limited to 'includes')
-rw-r--r-- | includes/menu.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/menu.inc b/includes/menu.inc index d16f30058..711642547 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -921,7 +921,7 @@ function menu_tree_output($tree) { $element['#attributes']['class'] = $class; $element['#title'] = $data['link']['title']; $element['#href'] = $data['link']['href']; - $element['#localized_options'] = !empty($data['localized_options']) ? $data['localized_options'] : array(); + $element['#localized_options'] = !empty($data['link']['localized_options']) ? $data['link']['localized_options'] : array(); $element['#below'] = $data['below'] ? menu_tree_output($data['below']) : $data['below']; $element['#original_link'] = $data['link']; // Index using the link's unique mlid. |