WIN-2308041133\Administrator пре 5 месеци
родитељ
комит
a1ae6dcc6d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/api/controller/User.php

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

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