Commit 21649210 authored by Dries's avatar Dries

- Patch #60224 by rkerr: one page book showing another book in navigation links.

parent 49b90a5d
......@@ -424,7 +424,7 @@ function book_next($node) {
}
// No direct child: get next for this level or any parent in this book.
$path[] = book_location($node); // Path to top-level node including this one.
$path = book_location($node); // Path to top-level node including this one.
$path[] = $node;
while (($leaf = array_pop($path)) && count($path)) {
......
......@@ -424,7 +424,7 @@ function book_next($node) {
}
// No direct child: get next for this level or any parent in this book.
$path[] = book_location($node); // Path to top-level node including this one.
$path = book_location($node); // Path to top-level node including this one.
$path[] = $node;
while (($leaf = array_pop($path)) && count($path)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment