Skip to content

Commit

Permalink
Fix: avoid warning during "upgrade2" process
Browse files Browse the repository at this point in the history
  • Loading branch information
hregis committed Feb 26, 2018
1 parent 46f70eb commit 1aa1b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/class/commonobject.class.php
Expand Up @@ -4495,7 +4495,7 @@ function fetch_optionals($rowid=null, $optionsArray=null)
{
$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
{
Expand Down

0 comments on commit 1aa1b0a

Please sign in to comment.