aboutsummaryrefslogtreecommitdiffstats
path: root/admin/element_set_unit.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/element_set_unit.php')
-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 cf5409296..9abcb3889 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'].' OFFSET '.$page['nb_images'].'
+ LIMIT '.$page['nb_images'].' OFFSET '.$page['start'].'
;';
$result = pwg_query($query);