aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-01-03 09:22:32 +0000
committernikrou <nikrou@piwigo.org>2010-01-03 09:22:32 +0000
commitace36384ea4053f314b7196254735be952b31191 (patch)
tree942195d46c3ab9efb698d649cce714c6b36a8ad7
parentb2d32672d551b295293055e597cd045c23cc1a76 (diff)
Merge branch 'bug_1255'
git-svn-id: http://piwigo.org/svn/trunk@4607 68402e56-0260-453c-a942-63ccdbb3a9ee
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 4e980a8c6..fd4b907bc 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'].' OFFSET '.$conf['nb_comment_page'].'
+ LIMIT '.$conf['nb_comment_page'].' OFFSET '.$page['start'].'
;';
$result = pwg_query( $query );