fix scrutinizer error

This commit is contained in:
Florian HENRY 2021-10-25 21:54:56 +02:00
parent cfd88cb6e5
commit 9a2e1df94a

View File

@ -224,8 +224,9 @@ class FormResource
$value = ($maxlength ?dol_trunc($arraytypes['label'], $maxlength) : $arraytypes['label']);
} elseif ($format == 3) {
$value = $arraytypes['code'];
} elseif (empty($value)) {
print ' ';
}
print $value ? $value : ' ';
print '</option>';
}
}