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; }