diff --git a/ext/comment/main.php b/ext/comment/main.php index d287e5c9..8178a46a 100644 --- a/ext/comment/main.php +++ b/ext/comment/main.php @@ -363,7 +363,7 @@ class CommentList extends Extension { LEFT JOIN users ON comments.owner_id=users.id WHERE users.id = :user_id ORDER BY comments.id DESC - OFFSET :offset LIMIT :limit + LIMIT :limit OFFSET :offset ", array("user_id"=>$user_id, "offset"=>$offset, "limit"=>$count)); $comments = array(); foreach($rows as $row) {