diff options
author | Habeas Codice <habeascodice@federated.social> | 2015-01-24 21:16:43 -0800 |
---|---|---|
committer | Habeas Codice <habeascodice@federated.social> | 2015-01-24 21:16:43 -0800 |
commit | 1d80bcf2e722508702d21b7a6e03e4eea75137e8 (patch) | |
tree | cabe43a9ab13f122f5c9a1bc0b1a344eb5690d24 /mod | |
parent | 146efbc18e95b7f008b683e436c0f0f2fd7db2a1 (diff) | |
download | volse-hubzilla-1d80bcf2e722508702d21b7a6e03e4eea75137e8.tar.gz volse-hubzilla-1d80bcf2e722508702d21b7a6e03e4eea75137e8.tar.bz2 volse-hubzilla-1d80bcf2e722508702d21b7a6e03e4eea75137e8.zip |
standardize sql
Diffstat (limited to 'mod')
-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) |