From f19dee5337fb0b9172a057d2599c4ab0534a2115 Mon Sep 17 00:00:00 2001 From: Luca Haid Date: Wed, 16 Jul 2025 17:21:08 +0200 Subject: [PATCH] fixed import bugs and filter --- .../ConstructionConsent/ConstructionConsentController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/ConstructionConsent/ConstructionConsentController.php b/application/ConstructionConsent/ConstructionConsentController.php index 4d2a9ad14..5e7394113 100644 --- a/application/ConstructionConsent/ConstructionConsentController.php +++ b/application/ConstructionConsent/ConstructionConsentController.php @@ -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;