aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorHabeas Codice <habeascodice@federated.social>2015-01-24 21:16:43 -0800
committerHabeas Codice <habeascodice@federated.social>2015-01-24 21:16:43 -0800
commit1d80bcf2e722508702d21b7a6e03e4eea75137e8 (patch)
treecabe43a9ab13f122f5c9a1bc0b1a344eb5690d24 /mod
parent146efbc18e95b7f008b683e436c0f0f2fd7db2a1 (diff)
downloadvolse-hubzilla-1d80bcf2e722508702d21b7a6e03e4eea75137e8.tar.gz
volse-hubzilla-1d80bcf2e722508702d21b7a6e03e4eea75137e8.tar.bz2
volse-hubzilla-1d80bcf2e722508702d21b7a6e03e4eea75137e8.zip
standardize sql
Diffstat (limited to 'mod')
-rw-r--r--mod/sitelist.php2
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)