diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php b/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php index 3f7c8bd..f8357b5 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php @@ -1148,7 +1148,7 @@ function build_condition($where = 'where') { * @return array * An array of the fieldnames which are non-aggregates. */ - function get_non_aggregates() { + protected function getNonAggregates() { $non_aggregates = array(); foreach ($this->fields as $field) { $string = ''; @@ -1307,7 +1307,7 @@ public function query($get_count = FALSE) { // Assemble the groupby clause, if any. $this->has_aggregate = FALSE; - $non_aggregates = $this->get_non_aggregates(); + $non_aggregates = $this->getNonAggregates(); if (count($this->having)) { $this->has_aggregate = TRUE; }