sunnyman's (sunnyman) wrote in changelog,
sunnyman's
sunnyman
changelog

[ljcom] r11393: LJSUP-10937: Workaround for SelfPromo DB...

Committer: vtroitsky
LJSUP-10937: Workaround for SelfPromo DB Model refactoring on prod: preparing for safe QA on Omega/Beta/Alpha
U   branches/r88.9/cgi-bin/LJ/Pay/SelfPromo.pm
Modified: branches/r88.9/cgi-bin/LJ/Pay/SelfPromo.pm
===================================================================
--- branches/r88.9/cgi-bin/LJ/Pay/SelfPromo.pm	2012-02-01 15:39:37 UTC (rev 11392)
+++ branches/r88.9/cgi-bin/LJ/Pay/SelfPromo.pm	2012-02-01 16:31:38 UTC (rev 11393)
@@ -563,6 +563,8 @@
     my @binds;
     my ( $sort_cond, $limit_cond ) = ( '', '' );
 
+    push @where, "type = 'entry'";
+
     if ( my $started_min = delete $params->{'started_min'} ) {
         push @where, 'started > ?';
         push @binds, $started_min;

Tags: ljcom, pm, sunnyman, vtroitsky
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