Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
efdd76ad
Commit
efdd76ad
authored
Jun 05, 2005
by
Dries
Browse files
- Patch
#22416
: fixed typo that prevented menu item descriptions from showing up in links.
parent
12ea785b
Changes
1
Show whitespace changes
Inline
Side-by-side
includes/menu.inc
View file @
efdd76ad
...
@@ -604,7 +604,7 @@ function theme_menu_item($mid, $children = '', $leaf = TRUE) {
...
@@ -604,7 +604,7 @@ function theme_menu_item($mid, $children = '', $leaf = TRUE) {
* @ingroup themeable
* @ingroup themeable
*/
*/
function
theme_menu_item_link
(
$item
,
$link_item
)
{
function
theme_menu_item_link
(
$item
,
$link_item
)
{
return
l
(
$item
[
'title'
],
$link_item
[
'path'
],
array_key_exists
(
'description'
,
$item
)
?
array
(
'title'
=>
$item
s
[
'description'
])
:
array
());
return
l
(
$item
[
'title'
],
$link_item
[
'path'
],
array_key_exists
(
'description'
,
$item
)
?
array
(
'title'
=>
$item
[
'description'
])
:
array
());
}
}
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment