Browse Source

Refactor the database query builder.

Taylor Otwell 13 years ago
parent
commit
87a65c2032
1 changed files with 1 additions and 0 deletions
  1. 1 0
      system/db/query.php

+ 1 - 0
system/db/query.php

@@ -482,6 +482,7 @@ class Query {
 	private function aggregate($aggregator, $column)
 	{
 		$this->select = 'SELECT '.$aggregator.'('.$this->wrap($column).') AS '.$this->wrap('aggregate');
+
 		return $this->first()->aggregate;
 	}