j_map_history에서 year가 0인 경우

This commit is contained in:
2018-07-30 01:47:33 +09:00
parent e0c4e3c58e
commit 463f462e24
+1 -1
View File
@@ -17,7 +17,7 @@ if(!strpos($_SERVER['HTTP_REFERER'], $url)) {
]);
}
if(!$year || !$month) {
if($year === null || !$month) {
Json::die([
'result'=>false,
'reason'=>'year, month가 지정되지 않았습니다'