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 +?>