버그 수정
This commit is contained in:
@@ -14,7 +14,7 @@ $now = new \DateTime();
|
|||||||
$delayTime = false;
|
$delayTime = false;
|
||||||
if(count($lastMsgGet) >= 10){
|
if(count($lastMsgGet) >= 10){
|
||||||
try{
|
try{
|
||||||
if($lastMsgGet[0] !== 'string'){
|
if(!is_string($lastMsgGet[0])){
|
||||||
throw new \Exception('Why not string?');
|
throw new \Exception('Why not string?');
|
||||||
}
|
}
|
||||||
$first = new \DateTime($lastMsgGet[0]);
|
$first = new \DateTime($lastMsgGet[0]);
|
||||||
|
|||||||
Reference in New Issue
Block a user