From 30da942645a5fef2329ec193fbd8572e2e1d00ed Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 6 May 2005 08:43:21 +0000 Subject: - Patch #22123 by Djun: fixed off by one error in printer-friendly book pages. --- modules/book.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/book.module') diff --git a/modules/book.module b/modules/book.module index 03551a5c9..80c32d3c5 100644 --- a/modules/book.module +++ b/modules/book.module @@ -616,7 +616,7 @@ function book_print($nid = 0, $depth = 1) { } } - $output .= book_print_recurse($nid, $depth); + $output .= book_print_recurse($nid, $depth + 1); $html = ''. check_plain($node->title) .''; $html .= ''; -- cgit v1.2.3