Index: trunk/kernel/units/general/custom_fields.php =================================================================== diff -u -r2285 -r5110 --- trunk/kernel/units/general/custom_fields.php (.../custom_fields.php) (revision 2285) +++ trunk/kernel/units/general/custom_fields.php (.../custom_fields.php) (revision 5110) @@ -10,7 +10,7 @@ function GetValuesHash($values_list) { $optionValuesStr = $this->ParseConfigSQL($values_list); - $optionValuesTmp = explode(',', $optionValuesStr); + $optionValuesTmp = explode(',', trim($optionValuesStr, ',')); $optionValues = Array(); foreach($optionValuesTmp as $optionValue) {