From 39f58280895dd30cbfd8221afdc20c710dffb093 Mon Sep 17 00:00:00 2001 From: wlx Date: Thu, 5 Feb 2015 03:28:35 +0000 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0null=E5=80=BC=E5=88=A4?= =?UTF-8?q?=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/module/Westdc/Dataimport/AbstractProcessing.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;