Commit af838aec authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#208492 report and testing by KarenS, patch by myself: book upgrade should not use the book API

parent 48904d07
......@@ -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'])));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment