Changeset 6467
- Timestamp:
- 12/11/07 20:15:59 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/plugins/sfPropelPlugin/lib/propel/sfPropelPager.class.php
r5231 r6467 102 102 $results = call_user_func(array($this->getClassPeer(), $this->getPeerMethod()), $cForRetrieve); 103 103 104 return $results[0];104 return is_array($results) && isset($results[0]) ? $results[0] : null; 105 105 } 106 106

