Debug v20

This commit is contained in:
Laurent Destailleur
2024-04-19 16:32:56 +02:00
parent a7d07fe75d
commit 1946b92da8
5 changed files with 68 additions and 7 deletions

View File

@@ -8036,6 +8036,8 @@ abstract class CommonObject
$value = isset($param['options'][$value]) ? $param['options'][$value] : '';
if (strpos($value, "|") !== false) {
$value = $langs->trans(explode('|', $value)[0]);
} elseif (! is_numeric($value)) {
$value = $langs->trans($value);
}
} elseif ($type == 'sellist') {
$param_list = array_keys($param['options']);