Index: trunk/core/units/general/cat_dbitem_export.php =================================================================== diff -u -r3760 -r3765 --- trunk/core/units/general/cat_dbitem_export.php (.../cat_dbitem_export.php) (revision 3760) +++ trunk/core/units/general/cat_dbitem_export.php (.../cat_dbitem_export.php) (revision 3765) @@ -536,6 +536,9 @@ } $field_name = $this->exportFields[$field_index]; + if ($field_name == 'ResourceId') { + return false; + } if (substr($field_name, 0, 7) == 'Custom_') { $field_name = substr($field_name, 7); @@ -682,13 +685,6 @@ } // create main record - $resource_id = $this->curItem->isLoaded() ? $this->curItem->GetDBField('ResourceId') : 0; - - if( ($save_method == 'Update') && $resource_id ) { - $this->curItem->SetDBField('ResourceId', $resource_id); - $this->curItem->setID($item_id); - } - if ($save_method == 'Create') { $this->fillRequiredFields($this->false, $this->curItem, true); }