diff --git a/core/modules/system/src/Plugin/views/field/BulkForm.php b/core/modules/system/src/Plugin/views/field/BulkForm.php index c78cd11..a2cfdd2 100644 --- a/core/modules/system/src/Plugin/views/field/BulkForm.php +++ b/core/modules/system/src/Plugin/views/field/BulkForm.php @@ -345,7 +345,8 @@ 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($_POST[$this->options['id']]); + $user_input = $form_state->getUserInput(); + $selected = array_filter($user_input[$this->options['id']]); $entities = array(); $action = $this->actions[$form_state->getValue('action')]; $count = 0;