aboutsummaryrefslogtreecommitdiffstats
path: root/include/picture_comment.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/picture_comment.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/picture_comment.inc.php b/include/picture_comment.inc.php
index c8891493e..4e980a8c6 100644
--- a/include/picture_comment.inc.php
+++ b/include/picture_comment.inc.php
@@ -136,7 +136,7 @@ SELECT com.id,author,author_id,'.$conf['user_fields']['username'].' AS username,
WHERE image_id = '.$page['image_id'].
$validated_clause.'
ORDER BY date ASC
- LIMIT '.$page['start'].', '.$conf['nb_comment_page'].'
+ LIMIT '.$page['start'].' OFFSET '.$conf['nb_comment_page'].'
;';
$result = pwg_query( $query );