This commit is contained in:
Laurent Destailleur 2026-01-11 17:51:13 +01:00
parent a96bba2199
commit 342a6f754b

View file

@ -258,6 +258,7 @@ foreach ($search as $key => $val) {
continue;
}
$field_spec = $object->fields[$key];
// @phpstan-ignore-next-line The $errormsg can have been modified by the dol_compress_dir function.
if ($field_spec === null) {
continue;
}