Committer: gprochaev
LJSUP-8451. "Moderate Community Submissions" have bugU 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;