From 5b1a4db378348d58dc2b8d4d40a7ccc32b60b053 Mon Sep 17 00:00:00 2001 From: liuweiwen <“529520975@qq.com> Date: Sat, 21 Dec 2019 18:54:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/MemberController.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Application/Admin/Controller/MemberController.class.php b/Application/Admin/Controller/MemberController.class.php index 8f5695723..ec51078c0 100644 --- a/Application/Admin/Controller/MemberController.class.php +++ b/Application/Admin/Controller/MemberController.class.php @@ -1079,7 +1079,9 @@ class MemberController extends ThinkController unset($_REQUEST['promote_id']); } elseif (I('promote_level') ==1) { $promote_ids = getOffspringByPromoteId(); - $map['promote_id'] = ['exp', "in($promote_ids)"]; + if ($promote_ids != 'all') { + $map['promote_id'] = ['exp', "in($promote_ids)"]; + } } // $map['type'] = 1; // $map['login_time'] = ['exp', 'login_time<>0'];