fixed enum parameter conversion in count()
This commit is contained in:
parent
ca736ec75a
commit
ff892b17c3
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user