From b5d66dba8a7e79e4a176809ff62d4f2d7eb2ba8c Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 21 Apr 2019 03:05:53 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/j_msg_get_recent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/j_msg_get_recent.php b/hwe/j_msg_get_recent.php index 04d0faf8..b98c5592 100644 --- a/hwe/j_msg_get_recent.php +++ b/hwe/j_msg_get_recent.php @@ -14,7 +14,7 @@ $now = new \DateTime(); $delayTime = false; if(count($lastMsgGet) >= 10){ try{ - if($lastMsgGet[0] !== 'string'){ + if(!is_string($lastMsgGet[0])){ throw new \Exception('Why not string?'); } $first = new \DateTime($lastMsgGet[0]);