Commit abc853ec authored by guilhermeblanco's avatar guilhermeblanco

[2.0] Documentation, documentation, documentation...

parent e161103e
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment