Index: branches/5.3.x/core/units/promo_blocks/promo_block_eh.php =================================================================== diff -u -N -r15677 -r15698 --- branches/5.3.x/core/units/promo_blocks/promo_block_eh.php (.../promo_block_eh.php) (revision 15677) +++ branches/5.3.x/core/units/promo_blocks/promo_block_eh.php (.../promo_block_eh.php) (revision 15698) @@ -1,6 +1,6 @@ Application->recallObject('CategoryHelper'); /* @var $category_helper CategoryHelper */ - $fields = $this->Application->getUnitOption($event->Prefix, 'Fields'); + $config = $event->getUnitConfig(); + $fields = $config->getFields(); $fields['CategoryId']['options'] = $category_helper->getStructureTreeAsOptions(); @@ -346,6 +347,6 @@ $fields['l' . $this->Application->GetDefaultLanguageId() . '_Image']['required'] = 1; - $this->Application->setUnitOption($event->Prefix, 'Fields', $fields); + $config->setFields($fields); } }