skip existing
This commit is contained in:
@@ -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;} }
|
||||
|
||||
Reference in New Issue
Block a user