Merge pull request #21067 from bb2a/php-V8-warning-class-commonobject

php V8 warning class commonobject
This commit is contained in:
Laurent Destailleur 2022-06-01 21:28:22 +02:00 committed by GitHub
commit cbd12288d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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]);