From d62db91dd9ca0e5db5b71c1a383915355f888907 Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Tue, 11 Jul 2023 16:25:16 +0800 Subject: [PATCH] 1 --- webapp/controller/UserController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/UserController.class.php b/webapp/controller/UserController.class.php index b01b372a..7118827f 100644 --- a/webapp/controller/UserController.class.php +++ b/webapp/controller/UserController.class.php @@ -823,7 +823,7 @@ class UserController extends BaseAuthedController { $this->_rspErr(1, 'address is empty'); return; } - if (UserHonor::_isValidHonorType($token_type)) { + if (!UserHonor::_isValidHonorType($token_type)) { $this->_rspErr(1, 'token_type is error'); return; }