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
48b7a5bb
Commit
48b7a5bb
authored
May 02, 2008
by
Dries
Browse files
- Patch
#253022
by beginner: fixed typo in code comments.
parent
e8fdcb2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/book/book.module
View file @
48b7a5bb
...
...
@@ -520,7 +520,7 @@ function book_get_flat_menu($book_link) {
static
$flat
=
array
();
if
(
!
isset
(
$flat
[
$book_link
[
'mlid'
]]))
{
// Call menu_tree_
fu
ll_data() to take advantage of the menu system's caching.
// Call menu_tree_
a
ll_data() to take advantage of the menu system's caching.
$tree
=
menu_tree_all_data
(
$book_link
[
'menu_name'
],
$book_link
);
$flat
[
$book_link
[
'mlid'
]]
=
array
();
_book_flatten_menu
(
$tree
,
$flat
[
$book_link
[
'mlid'
]]);
...
...
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