FengR hai 2 meses
pai
achega
c8cd5445df
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/JsonRpc/PublicRpcService.php

+ 1 - 1
app/JsonRpc/PublicRpcService.php

@@ -772,7 +772,7 @@ class PublicRpcService implements PublicRpcServiceInterface
         if(is_string($data['keyword'])){
             $keyword = json_decode($data['keyword'],true) ?? $data['keyword'];
         }
-        if(is_array($keyword)){
+        if(is_array($data['keyword'])){
             $keyword = json_encode($data['keyword']);
         }
         $updateData = [