diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-01-25 22:14:06 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-01-25 22:14:06 +0000 |
commit | 3b543c18f58bf0aa4fe5eec7071a88d58a003e9f (patch) | |
tree | 22170f583ede8364a19bfaa1afdd017e20868914 /modules/book/book.module | |
parent | db7dcfd444e16cd860b74dd1f874ebca62461d4c (diff) | |
download | brdo-3b543c18f58bf0aa4fe5eec7071a88d58a003e9f.tar.gz brdo-3b543c18f58bf0aa4fe5eec7071a88d58a003e9f.tar.bz2 |
- Rollback of E_ALL patch. Too much extra breakage.
Diffstat (limited to 'modules/book/book.module')
-rw-r--r-- | modules/book/book.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/book/book.module b/modules/book/book.module index e8a68a789..8216d617a 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 (isset($children[$nid])) { + if ($children[$nid]) { foreach ($children[$nid] as $foo => $node) { if (!$exclude || $exclude != $node->nid) { $toc[$node->nid] = $indent .' '. $node->title; |