Hi Nicholas, thankd for the reply.
I have it only on a localserver at the moment with wamp.
Its strange, I found the code you mentioned and it had the space. But doesnt seem to generate like that.
This is the code here:
class hikashopCheckbox extends hikashopRadioCheck {
var $radioType = 'checkbox';
function display($field, $value, $map, $inside, $options = '', $test = false, $allFields = null, $allValues = null){
if(!is_array($value)){
$value = explode(',',$value);
}
return parent::display($field,$value,$map,$inside,$options,$test,$allFields,$allValues);
}
function show(&$field,$value){
if(!is_array($value)){
$value = explode(',',$value);
}
if(!empty($field->field_value) && !is_array($field->field_value)){
$field->field_value = $this->parent->explodeValues($field->field_value);
}
$results = array();
foreach($value as $val){
if(isset($field->field_value[$val]))
$val = $field->field_value[$val]->value;
$results[] = parent::show($field,$val);
}
return implode(', ',$results);
}