rkljw 21 시간 전
부모
커밋
d4a59202c0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/JsonRpc/ChatService.php

+ 1 - 1
app/JsonRpc/ChatService.php

@@ -1180,7 +1180,7 @@ class ChatService implements ChatServiceInterface
                     $query->where(['chat_topics.type' => $data['type']]);
                 }
                 if(!empty($data['title'])){
-                    $query->where(['chat_topics.title','like','%'.$data['title'].'%']);
+                    $query->where('chat_topics.title','like','%'.$data['title'].'%');
                 }
                 if(!empty($data['created_at'])){
                     $query->whereDate('chat_topics.created_at', $data['created_at']);