diff --git a/Application/Admin/Controller/CompanyGameRatioController.class.php b/Application/Admin/Controller/CompanyGameRatioController.class.php index 748161ec0..0ade8fe1a 100644 --- a/Application/Admin/Controller/CompanyGameRatioController.class.php +++ b/Application/Admin/Controller/CompanyGameRatioController.class.php @@ -72,7 +72,7 @@ class CompanyGameRatioController extends AdminController if($isMarketAdmin) { $userAuth = session('user_auth'); $adminId = $userAuth['uid']; - $companyIds = M('promote', 'tab_')->where(['amdin_id' => $adminId, 'level' => 1])->getField('company_id', true); + $companyIds = M('promote', 'tab_')->where(['admin_id' => $adminId, 'level' => 1])->getField('company_id', true); $companyIds = array_unique($companyIds); $marketCondition = ''; if (count($companyIds) > 0) {