This commit is contained in:
parent
2f10b04e72
commit
9e016069d5
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user