Changeset 2090
- Timestamp:
- 02/20/2008 06:57:20 PM (11 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/ORM.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/ORM.php
r2053 r2090 116 116 // Connect to the database 117 117 $this->connect(); 118 119 // Reload the internal object120 empty($this->object->id) or $this->find($this->object->id);121 118 } 122 119 … … 467 464 protected function where_key($id = NULL) 468 465 { 469 return 'id';466 return $this->table.'.id'; 470 467 } 471 468
