diff --git a/Application/Home/Controller/DownloadController.class.php b/Application/Home/Controller/DownloadController.class.php index b81a44233..fd917bb7f 100644 --- a/Application/Home/Controller/DownloadController.class.php +++ b/Application/Home/Controller/DownloadController.class.php @@ -4537,7 +4537,7 @@ public function iosDetailExcelInfo($id,$map) { $begin = $defaultBegin; $end = $defaultEnd; if ($time != '') { - if (strpos($time, $delimiter) == -1) { + if (strpos($time, $delimiter) === false) { $begin = strtotime($time . ' 00:00:00'); $end = strtotime($time . ' 23:59:59'); } else { diff --git a/Application/Home/Controller/QueryController.class.php b/Application/Home/Controller/QueryController.class.php index 5ce3deb40..90c411456 100644 --- a/Application/Home/Controller/QueryController.class.php +++ b/Application/Home/Controller/QueryController.class.php @@ -2014,7 +2014,7 @@ class QueryController extends BaseController $begin = $defaultBegin; $end = $defaultEnd; if ($time != '') { - if (strpos($time, $delimiter) == -1) { + if (strpos($time, $delimiter) === false) { $begin = strtotime($time . ' 00:00:00'); $end = strtotime($time . ' 23:59:59'); } else {