Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[ljcom] r9803: After release fix

Committer: gariev
After release fix
U   trunk/bin/maint/pay.pl
Modified: trunk/bin/maint/pay.pl
===================================================================
--- trunk/bin/maint/pay.pl	2010-12-03 13:42:00 UTC (rev 9802)
+++ trunk/bin/maint/pay.pl	2010-12-04 00:12:24 UTC (rev 9803)
@@ -22,7 +22,7 @@
     # we don't mail receipts (yet?) to non-users paying, or carts w/ no price (eg coppa verifications)
     $dbh->do("UPDATE payments SET mailed='X' WHERE mailed='N' AND forwhat='cart' AND (userid=0 OR amount=0)");
 
-    $sth = $dbh->prepare("SELECT u.user, u.email, u.name, p.* FROM payments p, user u ".
+    $sth = $dbh->prepare("SELECT u.user, u.name, p.* FROM payments p, user u ".
                          "WHERE p.userid=u.userid AND p.mailed='N' ".
                          "AND (IFNULL(p.giveafter,0) = 0 OR $now >= p.giveafter)");
     $sth->execute;

Tags: gariev, ljcom, pl
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