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;