mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 17:02:34 +01:00
Try fix warning
This commit is contained in:
@@ -197,8 +197,8 @@ function formatObject($objtoshow, $prefix)
|
||||
if (empty($label) && !empty($otherlabels[$key])) {
|
||||
$label = $langs->trans($otherlabels[$key]);
|
||||
}
|
||||
if (empty($label) && array_key_exists($key, $convertkey) && array_key_exists($convertkey[$key], $otherlabels)) {
|
||||
$label = $langs->trans($otherlabels[$convertkey[$key]]);
|
||||
if (empty($label) && array_key_exists($key, $convertkey) && array_key_exists((string) $convertkey[$key], $otherlabels)) {
|
||||
$label = $langs->trans($otherlabels[(string) $convertkey[$key]]);
|
||||
}
|
||||
if (empty($label)) {
|
||||
$label = array_key_exists($key, $convertkey) ? $convertkey[$key] : '';
|
||||
|
||||
Reference in New Issue
Block a user