Index: branches/5.2.x/units/product_option_combinations/product_option_formatters.php =================================================================== diff -u -N -r14258 -r14625 --- branches/5.2.x/units/product_option_combinations/product_option_formatters.php (.../product_option_formatters.php) (revision 14258) +++ branches/5.2.x/units/product_option_combinations/product_option_formatters.php (.../product_option_formatters.php) (revision 14625) @@ -1,6 +1,6 @@ SetError($field_name, 'required'); return ''; } else { if ( $object->isRequired($field_name) ) { - foreach ($value as $key=>$val) - { - if ($val == '') { + foreach ($value as $key => $val) { + if ( $val == '' ) { $object->SetError($field_name, 'required'); } } @@ -69,11 +78,11 @@ class kCombPriceFormatter extends kFormatter { /** - * Enter description here... + * Formats value of a given field * - * @param mixed $value + * @param string $value * @param string $field_name - * @param kDBItem $object + * @param kDBItem|kDBList $object * @param string $format * @return string */