rkljw 1 day ago
parent
commit
d4a59202c0
1 changed files with 1 additions and 1 deletions
  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']);