Try fix warning
This commit is contained in:
parent
7f180687a1
commit
755c616dfd
1 changed files with 2 additions and 2 deletions
|
|
@ -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] : '';
|
||||
|
|
|
|||
Loading…
Reference in a new issue