wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r18757: LJSUP-8451. "Moderate Community Submissi...

Committer: gprochaev
LJSUP-8451. "Moderate Community Submissions" have bug

U   trunk/cgi-bin/LJ/Browse.pm
Modified: trunk/cgi-bin/LJ/Browse.pm
===================================================================
--- trunk/cgi-bin/LJ/Browse.pm	2011-03-31 08:43:06 UTC (rev 18756)
+++ trunk/cgi-bin/LJ/Browse.pm	2011-03-31 08:46:10 UTC (rev 18757)
@@ -1375,7 +1375,7 @@
 
     # Update moderation table
     $dbh->do("UPDATE categoryjournals_pending SET status=?, " .
-             "modid=?, lastupdate=UNIX_TIMESTAMP() WHERE pendid IN(?)", undef,
+             "modid=?, lastupdate=UNIX_TIMESTAMP() WHERE pendid IN(".join(",", @pendids).")", undef,
              'A', $mod_u->userid, @pendids);
     die $dbh->errstr if $dbh->err;
 

Tags: livejournal, pm, wisest-owl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments