Commit bc717ac9 authored by zYne's avatar zYne

--no commit message

--no commit message
parent db02c85e
...@@ -1129,7 +1129,7 @@ class Doctrine_Query extends Doctrine_Query_Abstract implements Countable ...@@ -1129,7 +1129,7 @@ class Doctrine_Query extends Doctrine_Query_Abstract implements Countable
$table = $map['table']; $table = $map['table'];
// build the query base // build the query base
$q = 'SELECT COUNT(DISTINCT ' . $this->getTableAlias($table->getTableName()) $q = 'SELECT COUNT(DISTINCT ' . $this->getTableAlias($componentAlias)
. '.' . $table->getIdentifier() . '.' . $table->getIdentifier()
. ') FROM ' . $this->buildFromPart(); . ') FROM ' . $this->buildFromPart();
......
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