fixed import bugs and filter

This commit is contained in:
Luca Haid
2025-07-16 17:21:08 +02:00
parent 072e5d76c6
commit f19dee5337

View File

@@ -1168,7 +1168,7 @@ class ConstructionConsentController extends mfBaseController {
$firstname = $ownerRecord->firstname;
$lastname = $ownerRecord->lastname;
$company = $ownerRecord->company;
if ((empty($firstname) && empty($lastname)) || empty($company)) {
if (empty($firstname) && empty($lastname) && empty($company)) {
$counts["skippedBecauseFirstnameAndLastname"]++;
$counts["skipped"]++;
continue;