Applied patch provided by ticket #788 in 0.9, 0.10 and trunk
This commit is contained in:
parent
f5b0b6bfec
commit
a3348ddaa9
@ -1062,6 +1062,7 @@ class Doctrine_Query extends Doctrine_Query_Abstract implements Countable, Seria
|
||||
$this->_queryComponents = array();
|
||||
$this->_pendingAggregates = array();
|
||||
$this->_aggregateAliasMap = array();
|
||||
$this->_enumParams = array();
|
||||
}
|
||||
$this->reset();
|
||||
|
||||
@ -1074,12 +1075,11 @@ class Doctrine_Query extends Doctrine_Query_Abstract implements Countable, Seria
|
||||
$this->_processDqlQueryPart($queryPartName, $queryParts);
|
||||
}
|
||||
$this->_state = self::STATE_CLEAN;
|
||||
|
||||
$params = $this->convertEnums($params);
|
||||
|
||||
$params = $this->convertEnums($params);
|
||||
|
||||
// Proceed with the generated SQL
|
||||
|
||||
|
||||
if (empty($this->_sqlParts['from'])) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user