1
0
mirror of synced 2025-01-19 06:51:40 +03:00

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:
Tanken 2006-10-16 10:04:38 +00:00
parent a2299b2a25
commit 075a58089a

View File

@ -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();