summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/book.module2
-rw-r--r--modules/book/book.module2
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 .'/" />';