summaryrefslogtreecommitdiff
path: root/modules/book/book.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-01-25 21:32:07 +0000
committerDries Buytaert <dries@buytaert.net>2007-01-25 21:32:07 +0000
commitfd32b42196978ec8df02049cccb83e5b868bfbd7 (patch)
treeffc5aaf65c34e33d2219df67cbda5346ab0c9def /modules/book/book.module
parent03752e35a41992c3d61f2591980020c87af257e7 (diff)
downloadbrdo-fd32b42196978ec8df02049cccb83e5b868bfbd7.tar.gz
brdo-fd32b42196978ec8df02049cccb83e5b868bfbd7.tar.bz2
- Patch #112715 by webchick et al: fixed some E_ALL errors.
Diffstat (limited to 'modules/book/book.module')
-rw-r--r--modules/book/book.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/book/book.module b/modules/book/book.module
index 8216d617a..e8a68a789 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -507,7 +507,7 @@ function theme_book_navigation($node) {
* This is a helper function for book_toc().
*/
function book_toc_recurse($nid, $indent, $toc, $children, $exclude) {
- if ($children[$nid]) {
+ if (isset($children[$nid])) {
foreach ($children[$nid] as $foo => $node) {
if (!$exclude || $exclude != $node->nid) {
$toc[$node->nid] = $indent .' '. $node->title;