Merge branch 'bug_1255'

git-svn-id: http://piwigo.org/svn/trunk@4607 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
nikrou 2010-01-03 09:22:32 +00:00
commit ace36384ea

View file

@ -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 );