changelog_bot (changelog_bot) wrote in changelog,
changelog_bot
changelog_bot
changelog

[ljcom] r7556: LJSUP-4585

Committer: gproschaev
LJSUP-4585


U   branches/shop/cgi-bin/LJ/Pay/Payment/PayItem/Permanent.pm
U   branches/shop/cgi-bin/LJ/Pay/RecBill.pm
Modified: branches/shop/cgi-bin/LJ/Pay/Payment/PayItem/Permanent.pm
===================================================================
--- branches/shop/cgi-bin/LJ/Pay/Payment/PayItem/Permanent.pm	2009-08-10 03:22:27 UTC (rev 7555)
+++ branches/shop/cgi-bin/LJ/Pay/Payment/PayItem/Permanent.pm	2009-08-10 03:26:17 UTC (rev 7556)
@@ -148,7 +148,7 @@
         $bonus_added = "Additionally, the following previously deactivated bonus features\n" .
                        "have been reactivated so you can use the time remaining on them:\n\n" .
                        join("\n", map {
-                            my $item = LJ::Pay::Payment::PayItem->new_memonly(item => $_->{'item'}, qty => $_->{'size'});
+                            my $item = LJ::Pay::Payment::PayItem->new_memonly(item => $_->{'item'}, subitem => $_->{'size'});
                             "   - " . $item->product_name("short") . ": $_->{'daysleft'} days applied";
                         } sort { $a->{'item'} cmp $b->{'item'} } @$bonus_ref) . "\n\n";
     }

Modified: branches/shop/cgi-bin/LJ/Pay/RecBill.pm
===================================================================
--- branches/shop/cgi-bin/LJ/Pay/RecBill.pm	2009-08-10 03:22:27 UTC (rev 7555)
+++ branches/shop/cgi-bin/LJ/Pay/RecBill.pm	2009-08-10 03:26:17 UTC (rev 7556)
@@ -1126,7 +1126,7 @@
                 "Your current paid account feature(s) will expire on the " .
                 "following date$s:\n\n" .
 
-                join('', map { my $item = LJ::Pay::Payment::PayItem->new_memonly(item => $_->{'item'}, qty => $_->{'size'});
+                join('', map { my $item = LJ::Pay::Payment::PayItem->new_memonly(item => $_->{'item'}, subitem => $_->{'size'});
                             $item->product_name('short') .
                                ", expires " . substr(LJ::mysql_time($_->{exptime}), 0, 10) .
                                "\n\n" } @{$self->{items}||[]} ) .
@@ -2178,7 +2178,7 @@
 
         my $exp = LJ::Pay::date_format($it->get_exptime);
 
-        my $item = LJ::Pay::Payment::PayItem->new_memonly(item => $it->{'item'}, qty => $it->{'size'});
+        my $item = LJ::Pay::Payment::PayItem->new_memonly(item => $it->{'item'}, subitem => $it->{'size'});
         $body .= $item->product_name('short');
         $body .= ": expires $exp\n\n";
     }
@@ -2244,7 +2244,7 @@
     foreach my $it ($self->get_items) {
         next if $it->get_name eq 'paidacct';
         next unless $it->get_recflag eq 'on';
-        my $item = LJ::Pay::Payment::PayItem->new_memonly(item => $it->get_name, qty => $it->get_size);
+        my $item = LJ::Pay::Payment::PayItem->new_memonly(item => $it->get_name, subitem => $it->get_size);
         $cur_services .= $item->product_name( 1 );
         $cur_services .= ', ';
     }
@@ -2394,7 +2394,7 @@
     foreach my $it ( $self->get_items() ) {
         next if $it->get_name eq 'paidacct';
         next unless $it->get_recflag eq 'on';
-        my $item = LJ::Pay::Payment::PayItem->new_memonly(item => $it->get_name, qty => $it->get_size);
+        my $item = LJ::Pay::Payment::PayItem->new_memonly(item => $it->get_name, subitem => $it->get_size);
         $cur_services .= $item->product_name('short');
         $cur_services .= ', ';
     }

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