From 8428649377b6737f224e0fd658cb52f47a3f006d Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 15 Apr 2020 02:14:49 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B6=80=EB=8C=80=20=EB=B2=84=EA=B7=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/j_troop.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hwe/j_troop.php b/hwe/j_troop.php index 3f4526c9..88fc5900 100644 --- a/hwe/j_troop.php +++ b/hwe/j_troop.php @@ -108,10 +108,10 @@ if ($action == '부대가입') { ]); } - if($me['troop'] != 0){ + if($me['troop'] === $generalID){ Json::die([ 'result'=>false, - 'reason'=>'이미 부대에 가입해있습니다.' + 'reason'=>'부대장입니다.' ]); }