Changeset 307 for trunk/trax
- Timestamp:
- 08/20/08 09:49:55 (3 months ago)
- Files:
-
- trunk/trax/vendor/trax/active_record.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/trax/vendor/trax/active_record.php
r297 r307 1386 1386 if($field == $this->index_on) { 1387 1387 $objects_key = $value; 1388 } 1389 } 1390 $objects[$objects_key] = $object; 1388 } 1389 } 1390 if(is_null($objects_key)) { 1391 $objects[] = $object; 1392 } else { 1393 $objects[$objects_key] = $object; 1394 } 1391 1395 # If callback is defined in model run it. 1392 1396 # this will probably hurt performance...

