From 3abbe947743ecb40d67a46975cf13ac7077b18c6 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Tue, 29 Oct 2019 18:20:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/PromoteController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Home/Controller/PromoteController.class.php b/Application/Home/Controller/PromoteController.class.php index 2c3d17702..ed8348280 100644 --- a/Application/Home/Controller/PromoteController.class.php +++ b/Application/Home/Controller/PromoteController.class.php @@ -1057,7 +1057,7 @@ class PromoteController extends BaseController $loginer = $this->getLoginPromote(); $promotes = null; $promoteColumns = ['id', 'account', 'real_name']; - $promoteMap = ['chain' => ['like', $loginer['chain'] . $loginer['level'] . '/' . '%']]; + $promoteMap = ['chain' => ['like', $loginer['chain'] . $loginer['id'] . '/' . '%']]; if ($loginer['level'] == 1) { if ($promoteType == 1) { $promoteMap['level'] = 2;