diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-09-18 11:26:17 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-09-18 11:26:17 +0000 |
commit | fe5f70b61bc919b7962a62cdda6beac762132b6e (patch) | |
tree | f39a96e1b144dade206875573bdfd8eead845f85 /modules/book.module | |
parent | bef5cb0cb97ff3201334e69ab359a56fde23c4ab (diff) | |
download | brdo-fe5f70b61bc919b7962a62cdda6beac762132b6e.tar.gz brdo-fe5f70b61bc919b7962a62cdda6beac762132b6e.tar.bz2 |
- Patch #31496 by Goba: added missing $node object in book export.
Diffstat (limited to 'modules/book.module')
-rw-r--r-- | modules/book.module | 1 |
1 files changed, 1 insertions, 0 deletions
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 = "<?xml version='1.0'?>\n"; |