Commit 075a5808 authored by Tanken's avatar Tanken

Fixed a missing space in the query build by count()

Fixed count()'s code formatting (was tabs in some lines)
fixes #171
Ticket: 171
parent a2299b2a
......@@ -82,7 +82,7 @@ class Doctrine_Query extends Doctrine_Hydrate implements Countable {
$q = "SELECT COUNT(DISTINCT ".$table->getTableName().'.'.$table->getIdentifier().") FROM ".$table->getTableName()." ";
foreach($join as $j) {
$q .= implode(" ",$j);
$q .= " ".implode(" ",$j);
}
$string = $this->applyInheritance();
......
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