From 9cdc05bed3089f5958f6faf7a8fa36f73570b7c9 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:44:29 +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/components/csv/Main.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/webapp/components/csv/Main.class.php b/html/webapp/components/csv/Main.class.php index 4b6c544..d378416 100644 --- a/html/webapp/components/csv/Main.class.php +++ b/html/webapp/components/csv/Main.class.php @@ -104,7 +104,7 @@ function add($data) $data[$index] = preg_replace("/\"/s", "\"\"", $data[$index]); } //Excelの場合、IDという文字列はエラーとなってしまうため、小文字にする - if ($data[$index] == "ID") { + if ($data[$index] === "ID") { $data[$index] = "id"; } $data[$index] = '"'. $data[$index]. '"';