diff options
-rw-r--r-- | mod/sitelist.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/sitelist.php b/mod/sitelist.php index 4e52f0463..95a53c9a4 100644 --- a/mod/sitelist.php +++ b/mod/sitelist.php @@ -13,7 +13,7 @@ function sitelist_init(&$a) { if($order == 'random') $sql_order = " order by $rand "; - $sql_limit = " limit $start, $limit "; + $sql_limit = " LIMIT $limit OFFSET $start "; $sql_extra = ""; if($open) |