1
0
mirror of synced 2024-12-14 07:06:04 +03:00

fixed enum parameter conversion in count()

This commit is contained in:
zYne 2007-11-14 21:57:05 +00:00
parent ca736ec75a
commit ff892b17c3

View File

@ -1838,6 +1838,8 @@ class Doctrine_Query extends Doctrine_Query_Abstract implements Countable
// append parameters
$params = array_merge($this->_params['where'], $this->_params['having'], $params);
$params = $this->convertEnums($params);
$results = $this->getConnection()->fetchAll($q, $params);
if (count($results) > 1) {