diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-05-06 08:43:21 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-05-06 08:43:21 +0000 |
commit | 30da942645a5fef2329ec193fbd8572e2e1d00ed (patch) | |
tree | acafefe7cac5ec8417c2b8f0a1bc27e18b30c3d4 | |
parent | e89e4fbd28f3e6a766a2099321536030c47dbfee (diff) | |
download | brdo-30da942645a5fef2329ec193fbd8572e2e1d00ed.tar.gz brdo-30da942645a5fef2329ec193fbd8572e2e1d00ed.tar.bz2 |
- Patch #22123 by Djun: fixed off by one error in printer-friendly book pages.
-rw-r--r-- | modules/book.module | 2 | ||||
-rw-r--r-- | modules/book/book.module | 2 |
2 files changed, 2 insertions, 2 deletions
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 = '<html><head><title>'. check_plain($node->title) .'</title>'; $html .= '<base href="'. $base_url .'/" />'; diff --git a/modules/book/book.module b/modules/book/book.module index 03551a5c9..80c32d3c5 100644 --- a/modules/book/book.module +++ b/modules/book/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 = '<html><head><title>'. check_plain($node->title) .'</title>'; $html .= '<base href="'. $base_url .'/" />'; |