Index: branches/1.3.x/units/sections/custom_eh.php =================================================================== diff -u -N -r15496 -r15692 --- branches/1.3.x/units/sections/custom_eh.php (.../custom_eh.php) (revision 15496) +++ branches/1.3.x/units/sections/custom_eh.php (.../custom_eh.php) (revision 15692) @@ -26,11 +26,13 @@ */ function OnModifyCategoriesConfig($event) { - # get Fields configuration from /core/units/categories/categories_config.php - $fields = $this->Application->getUnitOption($event->MasterEvent->Prefix, 'Fields'); + /*$config = $event->MasterEvent->getUnitConfig(); - # set configuration fields - $this->Application->setUnitOption($event->MasterEvent->Prefix, 'Fields', $fields); + $new_fields = Array ( + + ); + + $config->addFields($new_fields);*/ } } \ No newline at end of file