diff --git a/application/module/Westdc/Dataimport/AbstractProcessing.php b/application/module/Westdc/Dataimport/AbstractProcessing.php index 707778f1..43763503 100644 --- a/application/module/Westdc/Dataimport/AbstractProcessing.php +++ b/application/module/Westdc/Dataimport/AbstractProcessing.php @@ -24,13 +24,13 @@ abstract class AbstractProcessing { case "bigint": case "real": case "double precision": - return is_int($data) || is_float($data); + return is_int($data) || is_float($data) || is_null($data); case "date": case "timestamp without time zone": case "char": case "character varying": case "text": - return is_string($data); + return is_string($data) || is_null($data); default: return FALSE;