Changeset 2311 for trunk/system/libraries/ORM.php
- Timestamp:
- 03/17/2008 09:34:05 AM (10 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/ORM.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/ORM.php
r2300 r2311 545 545 * Find and load data for the current object. 546 546 * 547 * @param string id of the object to find, or ALL547 * @param string id of the object to find, an array, or TRUE to reload 548 548 * @param boolean return the result, or load it into the current object 549 549 * @return object object instance … … 559 559 if ($this->where === FALSE AND ! empty($id)) 560 560 { 561 if (is_array($id)) 561 if ($id === TRUE) 562 { 563 self::$db->where($this->object->id); 564 } 565 elseif (is_array($id)) 562 566 { 563 567 self::$db->where($id);
