mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 01:28:19 +01:00
Fix: avoid warning during "upgrade2" process
This commit is contained in:
@@ -4495,7 +4495,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']:'');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user