Update to Drupal 8.0.3. For more information, see https://www.drupal.org/drupal-8.0.3-release-notes
This commit is contained in:
parent
10f9f7fbde
commit
9db4fae9a7
202 changed files with 3806 additions and 760 deletions
|
@ -439,9 +439,9 @@ class BookManager implements BookManagerInterface {
|
|||
if ($nid == $original['bid']) {
|
||||
// Handle deletion of a top-level post.
|
||||
$result = $this->bookOutlineStorage->loadBookChildren($nid);
|
||||
|
||||
foreach ($result as $child) {
|
||||
$child['bid'] = $child['nid'];
|
||||
$children = $this->entityManager->getStorage('node')->loadMultiple(array_keys($result));
|
||||
foreach ($children as $child) {
|
||||
$child->book['bid'] = $child->id();
|
||||
$this->updateOutline($child);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue