Index: branches/5.2.x/units/discounts/discounts_config.php =================================================================== diff -u -N -r14717 -r15009 --- branches/5.2.x/units/discounts/discounts_config.php (.../discounts_config.php) (revision 14717) +++ branches/5.2.x/units/discounts/discounts_config.php (.../discounts_config.php) (revision 15009) @@ -1,6 +1,6 @@ Array('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => null), 'GroupId' => Array( 'type' => 'int', - 'formatter'=>'kOptionsFormatter', 'options_sql'=>'SELECT %s FROM '.TABLE_PREFIX.'PortalGroup WHERE Personal = 0 ORDER BY Name', 'option_key_field'=>'GroupId', 'option_title_field'=>'Name', + 'formatter'=>'kOptionsFormatter', 'options_sql'=>'SELECT %s FROM '.TABLE_PREFIX.'UserGroups WHERE Personal = 0 ORDER BY Name', 'option_key_field'=>'GroupId', 'option_title_field'=>'Name', 'required' => 1, 'default' => NULL ), 'Type' => Array(