diff --git a/application/module/Westdc/Dataimport/Processing/Csv.php b/application/module/Westdc/Dataimport/Processing/Csv.php index c5ee80c1..1e697393 100644 --- a/application/module/Westdc/Dataimport/Processing/Csv.php +++ b/application/module/Westdc/Dataimport/Processing/Csv.php @@ -223,7 +223,7 @@ class Csv extends AbstractProcessing implements ProcessingInterface{ foreach($this->getLines() as $line) { foreach($line as $k=>$v) - if ($v=="") $line[$k]=null; + if ($v=="" || is_null($v)) $line[$k]=null; $sth->execute($line); }