WIN-2308041133\Administrator hace 3 meses
padre
commit
ade8f4b5df
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/api/controller/User.php

+ 1 - 1
app/api/controller/User.php

@@ -1721,7 +1721,7 @@ class User extends BaseController
         $where = [];
         $where[] = ['uid', '=', $uid];
         
-        if (!empty($post['type']) && in_array(strval($post['type']), ["1", "0"])) {
+        if (!empty($post['type']) && in_array(strval($post['type']), ["1", "-1"])) {
             $where[] = ['type', '=', $post['type']];
         }