summaryrefslogtreecommitdiff
path: root/modules/book
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-12-21 13:47:32 +0000
committerDries Buytaert <dries@buytaert.net>2009-12-21 13:47:32 +0000
commitd1c017660c1b620267fdcdf0a8400fb411c2dd70 (patch)
tree8401e11dfb9b142f8507d985eb382599c5fa8099 /modules/book
parentef10abde20c8052ca4dd6eec9ca84b6f74d37a11 (diff)
downloadbrdo-d1c017660c1b620267fdcdf0a8400fb411c2dd70.tar.gz
brdo-d1c017660c1b620267fdcdf0a8400fb411c2dd70.tar.bz2
- Patch #658364 by effulgentsia: made the build/view/formatter terminology more consistent.
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 dda0d12fb..496b68afe 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -1110,7 +1110,7 @@ function book_export_traverse($tree, $visit_func) {
* The HTML generated for the given node.
*/
function book_node_export($node, $children = '') {
- $build = node_build($node, 'print');
+ $build = node_view($node, 'print');
unset($build['#theme']);
// @todo Rendering should happen in the template using render().
$node->rendered = drupal_render($build);