php V8 warning class commonobject

This commit is contained in:
BB2A Anthony Berton 2022-05-31 11:41:38 +02:00
parent 2d0958ba7f
commit d7eebeb913

View File

@ -7389,7 +7389,7 @@ abstract class CommonObject
$value = price($value, 0, $langs, 0, 0, -1, $conf->currency);
}
} elseif ($type == 'select') {
$value = $param['options'][$value];
$value = isset($param['options'][$value])?$param['options'][$value]:'';
} elseif ($type == 'sellist') {
$param_list = array_keys($param['options']);
$InfoFieldList = explode(":", $param_list[0]);