Skip to content

Commit

Permalink
Merge pull request #8244 from hregis/develop_bug
Browse files Browse the repository at this point in the history
Fix: avoid warning during "upgrade2" process
  • Loading branch information
eldy committed Mar 2, 2018
2 parents 0270e21 + 48b578b commit 7584fe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/class/commonobject.class.php
Expand Up @@ -4514,7 +4514,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']:null);
}
else
{
Expand Down

0 comments on commit 7584fe6

Please sign in to comment.