summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2014-04-06 21:05:05 (GMT)
committerAlex Pott2014-04-06 21:05:05 (GMT)
commitf7b4f2f35bc4da21018fb84e3900609542839219 (patch)
tree151201e9a829de47393aebb944752d5084466c62
parentce8541b281785afad055e4fac56367333033af0d (diff)
Issue #2227497 by gremy: BookAdminTableTree() has 2 nid entries in the same array.
-rw-r--r--core/modules/book/lib/Drupal/book/Form/BookAdminEditForm.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/modules/book/lib/Drupal/book/Form/BookAdminEditForm.php b/core/modules/book/lib/Drupal/book/Form/BookAdminEditForm.php
index 715b674..f76fe90 100644
--- a/core/modules/book/lib/Drupal/book/Form/BookAdminEditForm.php
+++ b/core/modules/book/lib/Drupal/book/Form/BookAdminEditForm.php
@@ -180,7 +180,6 @@ class BookAdminEditForm extends FormBase {
foreach ($tree as $data) {
$form['book-admin-' . $data['link']['nid']] = array(
'#item' => $data['link'],
- 'nid' => array('#type' => 'value', '#value' => $data['link']['nid']),
'depth' => array('#type' => 'value', '#value' => $data['link']['depth']),
'title' => array(
'#type' => 'textfield',