Index: branches/RC/core/units/custom_fields/custom_fields_event_handler.php =================================================================== diff -u -N -r11724 -r11854 --- branches/RC/core/units/custom_fields/custom_fields_event_handler.php (.../custom_fields_event_handler.php) (revision 11724) +++ branches/RC/core/units/custom_fields/custom_fields_event_handler.php (.../custom_fields_event_handler.php) (revision 11854) @@ -276,7 +276,12 @@ } foreach ($records as $record) { - $ret[] = $record['OptionKey'] . '=+' . $record['OptionTitle']; + if (substr($record['OptionKey'], 0, 3) == 'SQL') { + $ret[] = $record['OptionTitle']; + } + else { + $ret[] = $record['OptionKey'] . '=' . $record['OptionTitle']; + } } $object->SetDBField('ValueList', implode(VALUE_LIST_SEPARATOR, $ret));