diff --git a/lib/Doctrine/Hydrate.php b/lib/Doctrine/Hydrate.php index ffb272ba3..38a9e7c87 100644 --- a/lib/Doctrine/Hydrate.php +++ b/lib/Doctrine/Hydrate.php @@ -907,7 +907,7 @@ class Doctrine_Hydrate extends Doctrine_Object implements Serializable return $str; } public function fetchArray($params = array()) { - return $this->execute($params, Doctrine::HYDRATE_ARRAY); + return $this->execute($params, self::HYDRATE_ARRAY); } /** * parseData