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);