1
0
mirror of synced 2025-02-20 14:13:15 +03:00

[2.0] Documentation, documentation, documentation...

This commit is contained in:
guilhermeblanco 2009-08-14 18:22:41 +00:00
parent e161103e4b
commit abc853ec48

View File

@ -111,7 +111,7 @@ class QueryBuilder
public function getDql()
{
if ($this->_dql !== null && self::STATE_CLEAN) {
if ($this->_dql !== null && $this->_state === self::STATE_CLEAN) {
return $this->_dql;
}
@ -132,6 +132,7 @@ class QueryBuilder
break;
}
$this->_state = self::STATE_CLEAN;
$this->_dql = $dql;
return $dql;