From bb342d3de86a1a8e23112481fcf5f1acd3e21a2b Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 14 Jun 2022 16:58:11 +0800 Subject: [PATCH] 1 --- webapp/controller/HeroController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/HeroController.class.php b/webapp/controller/HeroController.class.php index 785c855d..982c24a4 100644 --- a/webapp/controller/HeroController.class.php +++ b/webapp/controller/HeroController.class.php @@ -411,7 +411,7 @@ class HeroController extends BaseAuthedController { break; } } - if (!$found) { + if ($found) { $this->_rspErr(1, 'hero already upgrading'); return; }