Commit 9e016069 authored by zYne's avatar zYne

--no commit message

--no commit message
parent 2f10b04e
...@@ -381,6 +381,10 @@ class Doctrine_Hydrate ...@@ -381,6 +381,10 @@ class Doctrine_Hydrate
*/ */
public function execute($params = array(), $return = Doctrine::FETCH_RECORD) public function execute($params = array(), $return = Doctrine::FETCH_RECORD)
{ {
if ($this->type !== self::SELECT) {
return $this->conn->exec($query, $params);
}
$array = (array) $this->_fetch($params, $return = Doctrine::FETCH_RECORD); $array = (array) $this->_fetch($params, $return = Doctrine::FETCH_RECORD);
if (empty($this->_aliasMap)) { if (empty($this->_aliasMap)) {
......
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