From d00f4f281cbe8020eaa0690056a4f62e72199d54 Mon Sep 17 00:00:00 2001 From: hide_d Date: Thu, 14 May 2020 23:47:08 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B1=B0=EB=9E=98=EC=9E=A5=20=EB=B2=84?= =?UTF-8?q?=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/b_auction.php | 2 +- hwe/c_auction.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hwe/b_auction.php b/hwe/b_auction.php index 1fc32498..cf7bb8dd 100644 --- a/hwe/b_auction.php +++ b/hwe/b_auction.php @@ -29,7 +29,7 @@ $bidCount = $db->queryFirstField('SELECT count(no) FROM auction where no2=%i', $ $btCount = $tradeCount + $bidCount; -if ($session->userGrade >= 5) { +if ($session->userGrade >= 5 || $btCount < 1) { $btn = "submit"; } else { $btn = "hidden"; diff --git a/hwe/c_auction.php b/hwe/c_auction.php index 760c74e0..c4f6c517 100644 --- a/hwe/c_auction.php +++ b/hwe/c_auction.php @@ -55,7 +55,7 @@ if ($term > 24) { } $valid = 1; -if ($session->userGrade >= 5) { +if ($session->userGrade >= 5 || $btCount < 1) { } else { $msg = "ㆍ더이상 등록할 수 없습니다."; $msg2 = "ㆍ더이상 등록할 수 없습니다.";