Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
9f1450c9
Commit
9f1450c9
authored
Jul 02, 2006
by
drumm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#71621
by keve, avoid an undefined variable
parent
2a89ab89
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
includes/menu.inc
includes/menu.inc
+1
-0
No files found.
includes/menu.inc
View file @
9f1450c9
...
...
@@ -853,6 +853,7 @@ function menu_primary_links($start_level = 1, $pid = 0) {
}
$menu
=
menu_get_menu
();
$links
=
array
();
if
(
$pid
&&
is_array
(
$menu
[
'visible'
][
$pid
])
&&
isset
(
$menu
[
'visible'
][
$pid
][
'children'
]))
{
$count
=
1
;
foreach
(
$menu
[
'visible'
][
$pid
][
'children'
]
as
$cid
)
{
...
...
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