Commit 63d545ed authored by webchick's avatar webchick
Browse files

Issue #2239255 by cs_shadow, ivanjaros: Action variable is defined twice in...

Issue #2239255 by cs_shadow, ivanjaros: Action variable is defined twice in BulkForm::viewsFormSubmit.
parent 4027cab3
...@@ -267,7 +267,6 @@ public function viewsFormSubmit(&$form, &$form_state) { ...@@ -267,7 +267,6 @@ public function viewsFormSubmit(&$form, &$form_state) {
} }
$count = count(array_filter($form_state['values'][$this->options['id']])); $count = count(array_filter($form_state['values'][$this->options['id']]));
$action = $this->actions[$form_state['values']['action']];
if ($count) { if ($count) {
drupal_set_message($this->translationManager()->formatPlural($count, '%action was applied to @count item.', '%action was applied to @count items.', array( drupal_set_message($this->translationManager()->formatPlural($count, '%action was applied to @count item.', '%action was applied to @count items.', array(
'%action' => $action->label(), '%action' => $action->label(),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment