summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebchick2013-12-03 21:41:29 -0800
committerwebchick2013-12-03 21:41:29 -0800
commit88db8c57bce93f5ddd0b5daa678dcaf0eb622a2f (patch)
tree5c08d32b4eb74da719f5850fdeba7971776126e1
parentb917d2b00965af447f5a038a5740fed2e37d09d1 (diff)
Issue #2067529 by mrded, rhm50: Remove Unused local variable from /core/modules/views/lib/Drupal/views/ManyToOneHelper.php.
-rw-r--r--core/modules/views/lib/Drupal/views/ManyToOneHelper.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/modules/views/lib/Drupal/views/ManyToOneHelper.php b/core/modules/views/lib/Drupal/views/ManyToOneHelper.php
index b391528..4c4d2ae 100644
--- a/core/modules/views/lib/Drupal/views/ManyToOneHelper.php
+++ b/core/modules/views/lib/Drupal/views/ManyToOneHelper.php
@@ -220,11 +220,11 @@ class ManyToOneHelper {
}
$this->handler->view->many_to_one_aliases[$field][$value] = $this->handler->table . '_value_' . ($this->handler->view->many_to_one_count[$this->handler->table]++);
}
- $alias = $this->handler->tableAliases[$value] = $this->addTable($join, $this->handler->view->many_to_one_aliases[$field][$value]);
- // and set table_alias to the first of these.
+ $this->handler->tableAliases[$value] = $this->addTable($join, $this->handler->view->many_to_one_aliases[$field][$value]);
+ // Set tableAlias to the first of these.
if (empty($this->handler->tableAlias)) {
- $this->handler->tableAlias = $alias;
+ $this->handler->tableAlias = $this->handler->tableAliases[$value];
}
}
}