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]. '"';