fix scrutinizer error
This commit is contained in:
parent
cfd88cb6e5
commit
9a2e1df94a
@ -224,8 +224,9 @@ class FormResource
|
|||||||
$value = ($maxlength ?dol_trunc($arraytypes['label'], $maxlength) : $arraytypes['label']);
|
$value = ($maxlength ?dol_trunc($arraytypes['label'], $maxlength) : $arraytypes['label']);
|
||||||
} elseif ($format == 3) {
|
} elseif ($format == 3) {
|
||||||
$value = $arraytypes['code'];
|
$value = $arraytypes['code'];
|
||||||
|
} elseif (empty($value)) {
|
||||||
|
print ' ';
|
||||||
}
|
}
|
||||||
print $value ? $value : ' ';
|
|
||||||
print '</option>';
|
print '</option>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user