Doc
This commit is contained in:
parent
cd1c327173
commit
edbd58b102
1 changed files with 1 additions and 1 deletions
|
|
@ -10512,7 +10512,7 @@ function getCommonSubstitutionArray($outputlangs, $onlykey = 0, $exclude = null,
|
|||
}
|
||||
$extrafields->fetch_name_optionals_label($object->table_element, true);
|
||||
|
||||
if ($object->fetch_optionals() > 0) {
|
||||
if ($object->fetch_optionals() > 0) { // @FIXME: Remove this, the fetch should have been done already, by the caller of getCommonSubstitutionArray()
|
||||
if (is_array($extrafields->attributes[$object->table_element]['label']) && count($extrafields->attributes[$object->table_element]['label']) > 0) {
|
||||
foreach ($extrafields->attributes[$object->table_element]['label'] as $key => $label) {
|
||||
if ($extrafields->attributes[$object->table_element]['type'][$key] == 'date') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue