1
0
mirror of synced 2025-01-18 06:21:40 +03:00

Applied patch provided by ticket #788 in 0.9, 0.10 and trunk

This commit is contained in:
guilhermeblanco 2008-02-15 14:49:21 +00:00
parent f5b0b6bfec
commit a3348ddaa9

View File

@ -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;
}