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 2763fb206..7cf8b99b3 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -643,7 +643,7 @@ function book_page() {
theme("footer");
break;
case "print":
- return book_print(arg(2), $depth = 1);
+ print book_print(arg(2), $depth = 1);
break;
default:
book_render();
diff --git a/modules/book/book.module b/modules/book/book.module
index 2763fb206..7cf8b99b3 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -643,7 +643,7 @@ function book_page() {
theme("footer");
break;
case "print":
- return book_print(arg(2), $depth = 1);
+ print book_print(arg(2), $depth = 1);
break;
default:
book_render();