diff options
author | xue <> | 2007-11-08 19:19:35 +0000 |
---|---|---|
committer | xue <> | 2007-11-08 19:19:35 +0000 |
commit | 68d7458c3031dc339344657c0ec1120e43a82f56 (patch) | |
tree | cd0b61a8cc60669d458418eccbb96bdf4e23af2e /framework/Data/ActiveRecord/Relations | |
parent | 1a3aeb51051088149f35a143d30698319007cec3 (diff) |
further AR refactoring.
Diffstat (limited to 'framework/Data/ActiveRecord/Relations')
-rw-r--r-- | framework/Data/ActiveRecord/Relations/TActiveRecordHasManyAssociation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Data/ActiveRecord/Relations/TActiveRecordHasManyAssociation.php b/framework/Data/ActiveRecord/Relations/TActiveRecordHasManyAssociation.php index bcda962c..67a33547 100644 --- a/framework/Data/ActiveRecord/Relations/TActiveRecordHasManyAssociation.php +++ b/framework/Data/ActiveRecord/Relations/TActiveRecordHasManyAssociation.php @@ -212,7 +212,7 @@ class TActiveRecordHasManyAssociation extends TActiveRecordRelation */
protected function createFkObject($type,$row,$foreignKeys)
{
- $obj = TActiveRecord::createRecordInstance($type, $row, TActiveRecord::STATE_LOADED);
+ $obj = TActiveRecord::createRecord($type, $row);
if(count($this->_association_columns) > 0)
{
$i=0;
|