diff --git a/lib/Doctrine/Query.php b/lib/Doctrine/Query.php index d7367656a..4413cade4 100755 --- a/lib/Doctrine/Query.php +++ b/lib/Doctrine/Query.php @@ -157,7 +157,7 @@ class Doctrine_Query extends Doctrine_Query_Abstract */ public function fetchOne($params = array(), $hydrationMode = null) { - $collection = $this->execute($params, $hydrationMode); + $collection = $this->limit(1)->execute($params, $hydrationMode); if (count($collection) === 0) { return false;