Commit 5c918691 authored by Dries's avatar Dries

- Patch #931632 by quartsize: countQuery() replaces connection information with active.

parent 485946f2
......@@ -1399,7 +1399,7 @@ public function countQuery() {
$count->distinct = FALSE;
}
$query = db_select($count);
$query = $this->connection->select($count);
$query->addExpression('COUNT(*)');
return $query;
......
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