1
0
mirror of synced 2025-02-20 14:13:15 +03:00
This commit is contained in:
zYne 2007-05-21 16:29:07 +00:00
parent 2f10b04e72
commit 9e016069d5

View File

@ -381,6 +381,10 @@ class Doctrine_Hydrate
*/
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);
if (empty($this->_aliasMap)) {