aboutsummaryrefslogtreecommitdiffstats
path: root/admin/element_set_unit.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/element_set_unit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/element_set_unit.php b/admin/element_set_unit.php
index 65206aba4..cf5409296 100644
--- a/admin/element_set_unit.php
+++ b/admin/element_set_unit.php
@@ -196,7 +196,7 @@ SELECT id,path,tn_ext,name,date_creation,comment,author,file
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'].'
;';
$result = pwg_query($query);