FengR hace 1 mes
padre
commit
c8cd5445df
Se han modificado 1 ficheros con 1 adiciones y 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'])){
         if(is_string($data['keyword'])){
             $keyword = json_decode($data['keyword'],true) ?? $data['keyword'];
             $keyword = json_decode($data['keyword'],true) ?? $data['keyword'];
         }
         }
-        if(is_array($keyword)){
+        if(is_array($data['keyword'])){
             $keyword = json_encode($data['keyword']);
             $keyword = json_encode($data['keyword']);
         }
         }
         $updateData = [
         $updateData = [