Merge branch 'ConstructionConsent/fix-bugs2' into 'master'

fixed import bugs and filter

See merge request fronk/thetool!1551
This commit is contained in:
Luca Haid
2025-07-16 15:21:18 +00:00

View File

@@ -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;