diff options
Diffstat (limited to 'modules/book/book.module')
-rw-r--r-- | modules/book/book.module | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/book/book.module b/modules/book/book.module index 346bf66bd..746b8e5fe 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -674,6 +674,7 @@ function book_export($type = 'html', $nid = 0) { global $base_url; $type = drupal_strtolower($type); $depth = _book_get_depth($nid); + $node = node_load($nid); switch ($type) { case 'docbook': $xml = "<?xml version='1.0'?>\n"; |