diff --git a/core/modules/system/src/Plugin/views/field/BulkForm.php b/core/modules/system/src/Plugin/views/field/BulkForm.php index f9f581b..c78cd11 100644 --- a/core/modules/system/src/Plugin/views/field/BulkForm.php +++ b/core/modules/system/src/Plugin/views/field/BulkForm.php @@ -345,7 +345,7 @@ protected function getBulkOptions($filtered = TRUE) { public function viewsFormSubmit(&$form, FormStateInterface $form_state) { if ($form_state->get('step') == 'views_form_views_form') { // Filter only selected checkboxes. - $selected = array_filter($form_state->getValue($this->options['id'])); + $selected = array_filter($_POST[$this->options['id']]); $entities = array(); $action = $this->actions[$form_state->getValue('action')]; $count = 0;