From af838aec810abfd715272885c813085217608fdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Thu, 10 Jan 2008 18:13:42 +0000 Subject: #208492 report and testing by KarenS, patch by myself: book upgrade should not use the book API --- modules/book/book.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/book/book.install b/modules/book/book.install index 28e4649dc..88ed1a64a 100644 --- a/modules/book/book.install +++ b/modules/book/book.install @@ -214,7 +214,7 @@ function book_update_6000() { 'module' => 'book', 'link_path' => 'node/'. $book['nid'], 'router_path' => 'node/%', - 'menu_name' => book_menu_name($book['bid']), + 'menu_name' => 'book-toc-'. $book['bid'], ); $book = array_merge($book, db_fetch_array(db_query("SELECT title AS link_title FROM {node} WHERE nid = %d", $book['nid']))); -- cgit v1.2.3