From fe5f70b61bc919b7962a62cdda6beac762132b6e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 18 Sep 2005 11:26:17 +0000 Subject: - Patch #31496 by Goba: added missing $node object in book export. --- modules/book.module | 1 + modules/book/book.module | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/book.module b/modules/book.module index 346bf66bd..746b8e5fe 100644 --- a/modules/book.module +++ b/modules/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 = "\n"; 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 = "\n"; -- cgit v1.2.3