Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
f97c3367
Commit
f97c3367
authored
Jul 31, 2004
by
Dries Buytaert
Browse files
- Patch
#9649
by JonBob: fixed a buglet in the recent book patch. It tried
to set book breadcrumbs for nodes that weren't books.
parent
ca3e769f
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/book.module
View file @
f97c3367
...
...
@@ -456,9 +456,9 @@ function book_nodeapi(&$node, $op, $teaser, $page) {
$node
->
$key
=
$value
;
}
$node
=
book_navigation
(
$node
);
}
if
(
$page
)
{
menu_set_location
(
$node
->
breadcrumb
);
if
(
$page
)
{
menu_set_location
(
$node
->
breadcrumb
);
}
}
}
break
;
...
...
modules/book/book.module
View file @
f97c3367
...
...
@@ -456,9 +456,9 @@ function book_nodeapi(&$node, $op, $teaser, $page) {
$node
->
$key
=
$value
;
}
$node
=
book_navigation
(
$node
);
}
if
(
$page
)
{
menu_set_location
(
$node
->
breadcrumb
);
if
(
$page
)
{
menu_set_location
(
$node
->
breadcrumb
);
}
}
}
break
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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