Fixed a missing space in the query build by count()
Fixed count()'s code formatting (was tabs in some lines) fixes #171 Ticket: 171
This commit is contained in:
parent
a2299b2a25
commit
075a58089a
@ -82,7 +82,7 @@ class Doctrine_Query extends Doctrine_Hydrate implements Countable {
|
|||||||
|
|
||||||
$q = "SELECT COUNT(DISTINCT ".$table->getTableName().'.'.$table->getIdentifier().") FROM ".$table->getTableName()." ";
|
$q = "SELECT COUNT(DISTINCT ".$table->getTableName().'.'.$table->getIdentifier().") FROM ".$table->getTableName()." ";
|
||||||
foreach($join as $j) {
|
foreach($join as $j) {
|
||||||
$q .= implode(" ",$j);
|
$q .= " ".implode(" ",$j);
|
||||||
}
|
}
|
||||||
$string = $this->applyInheritance();
|
$string = $this->applyInheritance();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user