Index: branches/5.0.x/core/units/custom_fields/custom_fields_event_handler.php =================================================================== diff -u -N -r12734 -r12788 --- branches/5.0.x/core/units/custom_fields/custom_fields_event_handler.php (.../custom_fields_event_handler.php) (revision 12734) +++ branches/5.0.x/core/units/custom_fields/custom_fields_event_handler.php (.../custom_fields_event_handler.php) (revision 12788) @@ -1,6 +1,6 @@ Application->getUnitOption($main_prefix.'.custom', 'PermSection'); $event->setEventParam('PermSection', $section); + return parent::CheckPermission($event); } @@ -188,6 +189,7 @@ /* @var $ml_helper kMultiLanguageHelper */ // call main item config to clone cdata table + define('CUSTOM_FIELD_ADDED', 1); // used in cdata::scanCustomFields method $this->Application->getUnitOption($main_prefix, 'TableName'); $ml_helper->createFields($main_prefix.'-cdata'); }