Update commonobject.class.php

This commit is contained in:
Laurent Destailleur 2018-03-02 17:51:21 +01:00 committed by GitHub
parent 1aa1b0a3ea
commit 48b578b9f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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