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

[ljcom] r11819: LJSUP-11372: Develop regional self promo...

Committer: vtroitsky
LJSUP-11372: Develop regional self promo for Ukraine. Stuff.
U   trunk/cgi-bin/LJ/Widget/Shop/PaidAccount.pm
U   trunk/cgi-bin/LJ/Widget/Shop/View/Userpics.pm
Modified: trunk/cgi-bin/LJ/Widget/Shop/PaidAccount.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/Shop/PaidAccount.pm	2012-04-26 12:40:55 UTC (rev 11818)
+++ trunk/cgi-bin/LJ/Widget/Shop/PaidAccount.pm	2012-04-26 12:48:19 UTC (rev 11819)
@@ -410,7 +410,7 @@
     my %price_keys = ( 'paidacct' => ['paidacct', undef] );
 
     # we need prices for various packet size of userpic_large item
-    for (my $period = LJ::Pay::Payment::PayItem::Addon::Packed::MAX_PACKET_COUNT; $period > 0; $period-- ) {
+    for (my $period = LJ::Pay::Payment::PayItem::Addon::Packed::MAX_PACKET_COUNT(); $period > 0; $period-- ) {
         push @{$price_keys{"userpic_large"}} => ['userpic_large', $period];
     }
 

Modified: trunk/cgi-bin/LJ/Widget/Shop/View/Userpics.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/Shop/View/Userpics.pm	2012-04-26 12:40:55 UTC (rev 11818)
+++ trunk/cgi-bin/LJ/Widget/Shop/View/Userpics.pm	2012-04-26 12:48:19 UTC (rev 11819)
@@ -259,7 +259,7 @@
         package_size        => $addon_class && $addon_class->get_packet_size,
         package_size_rcpt   => $addon_class_rcpt && $addon_class_rcpt->get_packet_size,
         multipliers         => [ map { multiplier => $_ },
-                                    (1..LJ::Pay::Payment::PayItem::Addon::Packed::MAX_PACKET_COUNT)
+                                    (1..LJ::Pay::Payment::PayItem::Addon::Packed::MAX_PACKET_COUNT())
                                ],
         months              => [
                                 map { {

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