Browse files

Put a LIMIT that had never been used into the right argument (oops!).

  • Loading branch information...
1 parent 7deaafd commit 48fc9981c170883fb9bf4da4cd4016978f48b326 @jamiemccarthy jamiemccarthy committed Mar 19, 2002
Showing with 1 addition and 2 deletions.
  1. +1 −2 Slash/DB/MySQL/MySQL.pm
View
3 Slash/DB/MySQL/MySQL.pm
@@ -505,8 +505,7 @@ sub getModeratorCommentLog {
"moderatorlog, users, comments",
"$where_clause
AND moderatorlog.cid=comments.cid",
- "ORDER BY ts $asc_desc",
- $limit
+ "ORDER BY ts $asc_desc $limit"
);
my(@comments, $comment);
push @comments, $comment while ($comment = $comments->fetchrow_hashref);

0 comments on commit 48fc998

Please sign in to comment.