aboutsummaryrefslogtreecommitdiffstats
path: root/admin/element_set_global.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/element_set_global.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/element_set_global.php b/admin/element_set_global.php
index 3676309e5..79e78e8a2 100644
--- a/admin/element_set_global.php
+++ b/admin/element_set_global.php
@@ -474,7 +474,7 @@ SELECT id,path,tn_ext,file,filesize,level
FROM '.IMAGES_TABLE.'
WHERE id IN ('.implode(',', $page['cat_elements_id']).')
'.$conf['order_by'].'
- LIMIT '.$page['start'].', '.$page['nb_images'].'
+ LIMIT '.$page['start'].' OFFSET '.$page['nb_images'].'
;';
//echo '<pre>'.$query.'</pre>';
$result = pwg_query($query);