Index: branches/5.2.x/core/units/categories/categories_config.php =================================================================== diff -u -N -r14856 -r14929 --- branches/5.2.x/core/units/categories/categories_config.php (.../categories_config.php) (revision 14856) +++ branches/5.2.x/core/units/categories/categories_config.php (.../categories_config.php) (revision 14929) @@ -1,6 +1,6 @@ 'kOptionsFormatter', 'options' => Array (1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 1 ), - 'DirectLinkAuthKey' => Array ('type' => 'string', 'max_len' => 20, 'not_null' => 1, 'default' => '') + 'DirectLinkAuthKey' => Array ('type' => 'string', 'max_len' => 20, 'not_null' => 1, 'default' => ''), + 'PromoBlockGroupId' => Array ( + 'type' => 'int', + 'options_sql' => 'SELECT %s FROM ' . TABLE_PREFIX . 'PromoBlockGroups ORDER BY Title', 'option_title_field' => 'Title', 'option_key_field' => 'PromoBlockGroupId', + 'not_null' => 1, 'default' => 0, + ), ), 'VirtualFields' => Array (