summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebchick2014-04-16 03:23:25 (GMT)
committerwebchick2014-04-16 03:23:25 (GMT)
commit63d545ed7980541446750b5e0481c70f23de8ef4 (patch)
tree7b2635d78ceacfe8b92e09708422d47fcb58aafe
parent4027cab346c8ed2a2c78e40c35a8b28f36fd3711 (diff)
Issue #2239255 by cs_shadow, ivanjaros: Action variable is defined twice in BulkForm::viewsFormSubmit.
-rw-r--r--core/modules/system/lib/Drupal/system/Plugin/views/field/BulkForm.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/modules/system/lib/Drupal/system/Plugin/views/field/BulkForm.php b/core/modules/system/lib/Drupal/system/Plugin/views/field/BulkForm.php
index 76b1943..172162b 100644
--- a/core/modules/system/lib/Drupal/system/Plugin/views/field/BulkForm.php
+++ b/core/modules/system/lib/Drupal/system/Plugin/views/field/BulkForm.php
@@ -267,7 +267,6 @@ class BulkForm extends FieldPluginBase {
}
$count = count(array_filter($form_state['values'][$this->options['id']]));
- $action = $this->actions[$form_state['values']['action']];
if ($count) {
drupal_set_message($this->translationManager()->formatPlural($count, '%action was applied to @count item.', '%action was applied to @count items.', array(
'%action' => $action->label(),