Changeset 4609 for trunk/lib/Doctrine
- Timestamp:
- 07/01/08 06:57:19 (6 months ago)
- Files:
-
- 1 modified
-
trunk/lib/Doctrine/Query.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Doctrine/Query.php
r4452 r4609 158 158 public function fetchOne($params = array(), $hydrationMode = null) 159 159 { 160 $collection = $this-> execute($params, $hydrationMode);160 $collection = $this->limit(1)->execute($params, $hydrationMode); 161 161 162 162 if (count($collection) === 0) {