|
@@ -1720,7 +1720,7 @@ class User extends BaseController
|
|
|
$where = [];
|
|
$where = [];
|
|
|
$where[] = ['uid', '=', $uid];
|
|
$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']];
|
|
$where[] = ['type', '=', $post['type']];
|
|
|
}
|
|
}
|
|
|
|
|
|