diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Form/TermDeleteForm.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Form/TermDeleteForm.php index 260da6e..01c7bfd 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Form/TermDeleteForm.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Form/TermDeleteForm.php @@ -87,7 +87,7 @@ public function getConfirmText() { */ public function submit(array $form, array &$form_state) { $this->entity->delete(); - $vocabulary = $this->vocabularyStorageController->load(array($this->entity->bundle())); + $vocabulary = $this->vocabularyStorageController->load($this->entity->bundle()); // @todo Move to storage controller http://drupal.org/node/1988712 taxonomy_check_vocabulary_hierarchy(reset($vocabulary), array('tid' => $this->entity->id()));