summaryrefslogtreecommitdiff
path: root/modules/book
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-09-10 12:33:46 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-09-10 12:33:46 +0000
commit7f88540b4bdd8f9a4d5050ae6c870fc794a29e8a (patch)
tree2e29ae0d87b67729fa64d524d25e7815705c3777 /modules/book
parent66317fbea078bb9d5dedb9463bef95070525ebb2 (diff)
downloadbrdo-7f88540b4bdd8f9a4d5050ae6c870fc794a29e8a.tar.gz
brdo-7f88540b4bdd8f9a4d5050ae6c870fc794a29e8a.tar.bz2
#564632 by moshe weitzman: Unify various _build() functions and remove duplicate copy of content.
Diffstat (limited to 'modules/book')
-rw-r--r--modules/book/book.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/book/book.module b/modules/book/book.module
index 1ac28bce6..13a589c45 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -1061,7 +1061,7 @@ function book_export_traverse($tree, $visit_func) {
* The HTML generated for the given node.
*/
function book_node_export($node, $children = '') {
- $node = node_build_content($node, 'print');
+ node_build_content($node, 'print');
$node->rendered = drupal_render($node->content);
return theme('book_node_export_html', $node, $children);