mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
FIX avoid NULL value (#36126)
This commit is contained in:
@@ -9095,7 +9095,7 @@ class Form
|
||||
if (!empty($objecttmp->fields)) { // For object that declare it, it is better to use declared fields (like societe, contact, ...)
|
||||
$tmpfieldstoshow = '';
|
||||
foreach ($objecttmp->fields as $key => $val) {
|
||||
if (! (int) dol_eval($val['enabled'], 1, 1, '1')) {
|
||||
if (! (int) dol_eval((string) $val['enabled'], 1, 1, '1')) {
|
||||
continue;
|
||||
}
|
||||
if (!empty($val['showoncombobox'])) {
|
||||
|
||||
Reference in New Issue
Block a user