diff --git a/application/ConstructionConsent/ConstructionConsentController.php b/application/ConstructionConsent/ConstructionConsentController.php index 0e37962f2..4d2a9ad14 100644 --- a/application/ConstructionConsent/ConstructionConsentController.php +++ b/application/ConstructionConsent/ConstructionConsentController.php @@ -1167,7 +1167,8 @@ class ConstructionConsentController extends mfBaseController { $firstname = $ownerRecord->firstname; $lastname = $ownerRecord->lastname; - if (empty($firstname) && empty($lastname)) { + $company = $ownerRecord->company; + if ((empty($firstname) && empty($lastname)) || empty($company)) { $counts["skippedBecauseFirstnameAndLastname"]++; $counts["skipped"]++; continue;