From d4112e56a7aea8a66eb2ae5071b2f0d71a3b3c47 Mon Sep 17 00:00:00 2001 From: songliang Date: Sun, 9 Jul 2023 12:04:07 +0800 Subject: [PATCH] ... --- webapp/controller/MarketController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/MarketController.class.php b/webapp/controller/MarketController.class.php index 58847c27..c36b64c9 100644 --- a/webapp/controller/MarketController.class.php +++ b/webapp/controller/MarketController.class.php @@ -1295,7 +1295,7 @@ class MarketController extends BaseAuthedController $type = getReqVal('type', 0); $start = getReqVal('start', 0); $page_size = getReqVal('page_size', 10); - + $page_size = max(1, min(100, $page_size)); $conn = myself()->_getMarketMysql(''); $type_filter_fn = function ($f) {