commit 116d2acff48e9364a016857fb8c06852e91bbc74 Author: Jibran Ijaz Date: Thu Sep 12 14:03:41 2013 +0500 101 diff --git a/core/modules/book/lib/Drupal/book/Form/BookOutlineForm.php b/core/modules/book/lib/Drupal/book/Form/BookOutlineForm.php index 549fb04..d0960f4 100644 --- a/core/modules/book/lib/Drupal/book/Form/BookOutlineForm.php +++ b/core/modules/book/lib/Drupal/book/Form/BookOutlineForm.php @@ -72,7 +72,7 @@ public function form(array $form, array &$form_state) { if (!isset($this->entity->book['parent_depth_limit'])) { $this->entity->book['parent_depth_limit'] = $this->bookManager->getParentDepthLimit($this->entity->book); } - $form = $this->bookManager->addFormElements($form, $form_state, $this->entity, $this->getCurrentUser()); + $form = $this->bookManager->addFormElements($form, $form_state, $this->entity, $this->currentUser()); return $form; }