diff --git a/application/ConstructionConsent/ConstructionConsentController.php b/application/ConstructionConsent/ConstructionConsentController.php index b9963aa46..7e26efd95 100644 --- a/application/ConstructionConsent/ConstructionConsentController.php +++ b/application/ConstructionConsent/ConstructionConsentController.php @@ -1098,6 +1098,9 @@ class ConstructionConsentController extends mfBaseController { $ownerRecord = new ConstructionConsentOwner(); $ownerRecord->constructionconsent_id = $consentRecord->id; $ownerRecord->create_by = $this->me->id; + } else { + $counts["skipped"]++; + continue; } $addressKey = null; foreach(array_keys($ownerData) as $k) { if(strpos($k,"ADR") === 0) {$addressKey=$k; break;} }