pid
key and inconsistent behavior in child nodes.Warning: Undefined array key "pid" in BookManager.php on line 286.
pid
key should always be present in the array returned by loadBookChildren()
or any other relevant method.pid
is missing more gracefully, without throwing warnings.BookManager::bookTreeOutput()
when accessing the pid
key in the $book_link
array.pid
key seems to be missing for certain child nodes under specific conditions (e.g., if the book hierarchy is not fully initialized or if a node is incorrectly associated with a book).pid
is present before using it.pid
is missing.Warning: Undefined array key "pid" in /modules/contrib/book/src/BookManager.php on line 286
Provide a patch or fallback behavior to address the missing pid
key in BookManager
.
Active
2.0
Code