Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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'])));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment