From 2140181a76b92e623d42bc21f4f7ed2db1f860a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Pocrnji=C4=8D?= Date: Wed, 17 Dec 2025 21:50:48 +0100 Subject: [PATCH] sdwsd --- app/Services/ImportProcessor.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/Services/ImportProcessor.php b/app/Services/ImportProcessor.php index 92854f0..922fc47 100644 --- a/app/Services/ImportProcessor.php +++ b/app/Services/ImportProcessor.php @@ -183,10 +183,7 @@ public function process(Import $import, ?Authenticatable $user = null): array } // Preflight: warn if any mapped source columns are not present in the header (exact match) $headerSet = []; - foreach ($header as $h) { - $headerSet[$h] = true; - } - $missingSources = []; + // Regex validation removed per request; rely on basic length/placeholder checks only foreach ($mappings as $map) { $src = (string) ($map->source_column ?? ''); if ($src !== '' && ! array_key_exists($src, $headerSet)) {