fix concat for a undef entry of array (#36754)
This commit is contained in:
parent
a0be2c8890
commit
2e22f9e75a
2 changed files with 2 additions and 2 deletions
|
|
@ -725,7 +725,7 @@ class TimeSpent extends CommonObject
|
|||
if (isset($this->status)) {
|
||||
$datas['picto'] .= ' '.$this->getLibStatut(5);
|
||||
}
|
||||
$datas['ref'] .= '<br><b>'.$langs->trans('Ref').':</b> '.$this->ref;
|
||||
$datas['ref'] = '<br><b>'.$langs->trans('Ref').':</b> '.$this->ref;
|
||||
|
||||
return $datas;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -774,7 +774,7 @@ class MyObject extends CommonObject
|
|||
if (isset($this->status)) {
|
||||
$datas['picto'] .= ' '.$this->getLibStatut(5);
|
||||
}
|
||||
$datas['ref'] .= '<br><b>'.$langs->trans('Ref').':</b> '.$this->ref;
|
||||
$datas['ref'] = '<br><b>'.$langs->trans('Ref').':</b> '.$this->ref;
|
||||
|
||||
return $datas;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue