From 2b8826c65b8fdea5f2d6d4578b2e58ced66f9f3f Mon Sep 17 00:00:00 2001 From: songliang Date: Fri, 30 Jun 2023 19:49:57 +0800 Subject: [PATCH] ... --- webapp/controller/ShopController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index f788b20b..d59c0be1 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -1289,7 +1289,7 @@ class ShopController extends BaseAuthedController } $num = $box['item_num']; - if ($num <= 1) { + if ($num < 1) { $this->_rspErr(2, 'num is invalid'); return; }