Merge pull request #8244 from hregis/develop_bug

Fix: avoid warning during "upgrade2" process
This commit is contained in:
Laurent Destailleur 2018-03-02 17:51:47 +01:00 committed by GitHub
commit 7584fe62e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4514,7 +4514,7 @@ abstract class CommonObject
{
$extrafields->fetch_name_optionals_label($this->table_element);
}
$optionsArray = $extrafields->attributes[$this->table_element]['label'];
$optionsArray = (! empty($extrafields->attributes[$this->table_element]['label'])?$extrafields->attributes[$this->table_element]['label']:null);
}
else
{