diff --git a/core/modules/block/lib/Drupal/block/BlockBase.php b/core/modules/block/lib/Drupal/block/BlockBase.php index d23613c..322b550 100644 --- a/core/modules/block/lib/Drupal/block/BlockBase.php +++ b/core/modules/block/lib/Drupal/block/BlockBase.php @@ -376,7 +376,7 @@ public function configureValidateWrapper($form, &$form_state) { } } $form_state['values']['visibility']['role']['roles'] = array_filter($form_state['values']['visibility']['role']['roles']); - $this->configureValidate($form, &$form_state); + $this->configureValidate($form, $form_state); } /** @@ -415,7 +415,7 @@ public function configureSubmitWrapper($form, &$form_state) { } drupal_set_message(t('The block configuration has been saved.')); drupal_flush_all_caches(); - $this->configureSubmit($form, &$form_state); + $this->configureSubmit($form, $form_state); } }