Index: branches/5.2.x/units/taxesdestinations/taxes_dst_event_handler.php =================================================================== diff -u -N -r15540 -r16015 --- branches/5.2.x/units/taxesdestinations/taxes_dst_event_handler.php (.../taxes_dst_event_handler.php) (revision 15540) +++ branches/5.2.x/units/taxesdestinations/taxes_dst_event_handler.php (.../taxes_dst_event_handler.php) (revision 16015) @@ -1,6 +1,6 @@ Load($field_values['TaxZoneDestId'], "TaxZoneDestId") ) { $taxdest->SetFieldsFromHash($field_values); + $event->setEventParam('form_data', $field_values); + $taxdest->Update($field_values['TaxZoneDestId']); } else { $taxdest->SetFieldsFromHash($field_values); + $event->setEventParam('form_data', $field_values); + $taxdest->Create($field_values['TaxZoneDestId']); } } @@ -82,7 +86,10 @@ } foreach ($items_info as $field_values) { + $object->setID(0); $object->SetFieldsFromHash($field_values); + $event->setEventParam('form_data', $field_values); + $this->customProcessing($event, 'before'); if ( $object->Create() ) { @@ -173,4 +180,4 @@ } -} \ No newline at end of file +}