fixed enum parameter conversion in count()
This commit is contained in:
parent
ca736ec75a
commit
ff892b17c3
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue