From 907595eaa9b6382e658bbaf4f8b7cfc04a7ecd1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A9=E9=87=8E=E9=BE=8D=E5=8F=B8?= Date: Thu, 9 Jun 2016 14:47:24 +0900 Subject: [PATCH] =?UTF-8?q?$data[$index]=20=3D=3D=20"ID"=E3=81=A0=E3=81=A8?= =?UTF-8?q?=E6=95=B0=E5=AD=97=E3=81=AE0=E3=82=82true=E3=81=AB=E3=81=AA?= =?UTF-8?q?=E3=81=A3=E3=81=A6=E5=B0=8F=E6=96=87=E5=AD=97id=E3=81=AB?= =?UTF-8?q?=E5=A4=89=E6=8F=9B=E3=81=95=E3=82=8C=E3=81=A6=E3=81=97=E3=81=BE?= =?UTF-8?q?=E3=81=86=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refs #128 --- html/webapp/modules/user/components/Csvmain.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/webapp/modules/user/components/Csvmain.class.php b/html/webapp/modules/user/components/Csvmain.class.php index b659066..edc61a3 100644 --- a/html/webapp/modules/user/components/Csvmain.class.php +++ b/html/webapp/modules/user/components/Csvmain.class.php @@ -58,7 +58,7 @@ function add($headers, $data) if (strpos($data[$index], "\"") === FALSE) { if ($data[$index] != USER_IMPORT_SPACE) { //Excelの場合、IDという文字列はエラーとなってしまうため、小文字にする - if ($data[$index] == "ID") { + if ($data[$index] === "ID") { $data[$index] = "id"; } } else { @@ -297,4 +297,4 @@ function getChangeVal($item, $name) return $res; } } -?> \ No newline at end of file +?>