From 3b543c18f58bf0aa4fe5eec7071a88d58a003e9f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 25 Jan 2007 22:14:06 +0000 Subject: - Rollback of E_ALL patch. Too much extra breakage. --- modules/book/book.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/book/book.module') 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; -- cgit v1.2.3