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

[ljcom] r8377: LJSUP-5707

Committer: gprochaev
LJSUP-5707

U   trunk/cgi-bin/LJ/Pay/Payment/PayItem/Addon/Packed.pm
U   trunk/cgi-bin/LJ/Pay/RecBill.pm
Modified: trunk/cgi-bin/LJ/Pay/Payment/PayItem/Addon/Packed.pm
===================================================================
--- trunk/cgi-bin/LJ/Pay/Payment/PayItem/Addon/Packed.pm	2010-03-26 10:14:04 UTC (rev 8376)
+++ trunk/cgi-bin/LJ/Pay/Payment/PayItem/Addon/Packed.pm	2010-03-26 10:49:16 UTC (rev 8377)
@@ -136,7 +136,7 @@
     my $self = shift;
     my %args = @_;
     
-    my $userid = LJ::want_userid($args{u});
+    my $userid = LJ::want_userid($args{u} || $args{userid});
     my $item = $self->item;
 
     my $u = '';

Modified: trunk/cgi-bin/LJ/Pay/RecBill.pm
===================================================================
--- trunk/cgi-bin/LJ/Pay/RecBill.pm	2010-03-26 10:14:04 UTC (rev 8376)
+++ trunk/cgi-bin/LJ/Pay/RecBill.pm	2010-03-26 10:49:16 UTC (rev 8377)
@@ -1484,7 +1484,7 @@
                 my $price = $self->calc_item_extension_price($item, $prorate_len - $daysleft_in_sec)
                     or return _err();
 
-                $item = 'userpic_large' if $item = 'userpic';
+                $item = 'userpic_large' if $item eq 'userpic';
                 push @to_extend, [ $item, $prorate_len, $price ];
                 _debug("push: [ $item, $prorate_len, $price ]");
             } else {

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