Commit 30da9426 authored by Dries's avatar Dries
Browse files

- Patch #22123 by Djun: fixed off by one error in printer-friendly book pages.

parent e89e4fbd
......@@ -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 .'/" />';
......
......@@ -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 .'/" />';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment