From 340142cf06384e7716071695829111834aa03426 Mon Sep 17 00:00:00 2001 From: Wayne Date: Tue, 11 Jul 2023 11:24:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E9=A0=81=E9=A1=9E=E5=88=A5=E6=94=B9?= =?UTF-8?q?=E7=82=BA=E7=84=A1=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index ca90db3..5f4391c 100755 --- a/index.php +++ b/index.php @@ -148,7 +148,7 @@ function get_rand5_portals($type=1) $sql = 'SELECT * ' . ' FROM ' . $GLOBALS['ecs']->table('portal') . ' WHERE type = '. $type . - ' ORDER BY rand() LIMIT 7'; + ' ORDER BY rand()'; $portals_res = $GLOBALS['db']->getAll($sql);