Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 48fc9981c170883fb9bf4da4cd4016978f48b326 1 parent 7deaafd
Jamie McCarthy jamiemccarthy authored

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. +1 2  Slash/DB/MySQL/MySQL.pm
3  Slash/DB/MySQL/MySQL.pm
@@ -505,8 +505,7 @@ sub getModeratorCommentLog {
505 505 "moderatorlog, users, comments",
506 506 "$where_clause
507 507 AND moderatorlog.cid=comments.cid",
508   - "ORDER BY ts $asc_desc",
509   - $limit
  508 + "ORDER BY ts $asc_desc $limit"
510 509 );
511 510 my(@comments, $comment);
512 511 push @comments, $comment while ($comment = $comments->fetchrow_hashref);

0 comments on commit 48fc998

Please sign in to comment.
Something went wrong with that request. Please try again.