Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit e52d367

Browse files
committed
Merge branch 'master' of github.com:AKSW/transform-bvl-pages-to-csv-file
Conflicts: enrich-table-csv.php
2 parents a278b7c + da6c3d0 commit e52d367

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

enrich-table-csv.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@
194194
foreach ($extractedData as $key => $extractedEntry) {
195195
foreach ($mdbDatabaseCSVExport as $key => $originalEntry) {
196196
if (!isset($originalEntry[5]) || !isset($originalEntry[7])) {
197-
echo PHP_EOL . 'Title information missing...';
198-
var_dump($originalEntry);
197+
echo PHP_EOL . 'Data seems corrupt, essential fields are unset. Aborting ...'
198+
return;
199199
}
200200

201201
$street = preg_replace('/(\(.*?\))/si', '', $originalEntry[7]);

0 commit comments

Comments
 (0)