diff options
Diffstat (limited to 'modules/book.module')
-rw-r--r-- | modules/book.module | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/book.module b/modules/book.module index 522dcdeff..8d226800d 100644 --- a/modules/book.module +++ b/modules/book.module @@ -258,8 +258,9 @@ function book_export_html($parent = "", $depth = 0) { } function book_export($uri) { - if ($uri[2] == "book") { - print book_export_html($uri[3], $depth = 1); + $uri = explode("&", $uri); + if ($uri[0] == "book") { + print book_export_html($uri[1], $depth = 1); } } |