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

[ljcom] r8372: LJSUP-5693

Committer: gprochaev
LJSUP-5693

U   trunk/htdocs/manage/account/modify.bml
Modified: trunk/htdocs/manage/account/modify.bml
===================================================================
--- trunk/htdocs/manage/account/modify.bml	2010-03-26 08:10:17 UTC (rev 8371)
+++ trunk/htdocs/manage/account/modify.bml	2010-03-26 08:59:40 UTC (rev 8372)
@@ -461,7 +461,7 @@
                 my $amt = $rec->calc_item_activation_price('userpic_large', $POST{bill_how_many}, $bill_interval)
                     or return $err->($ML{'.error.cantcalcuserpicprice'});
                 $item->set_amt ($amt);
-                if (int($amt) > 0 && $upic_size < LJ::Pay::Payment::PayItem::Addon::Packed::MAX_PACKET_COUNT) {
+                if (int($amt) > 0 && $upic_size <= LJ::Pay::Payment::PayItem::Addon::Packed::MAX_PACKET_COUNT) {
                     eval {
                         my $remote = LJ::get_remote();
                         $pmt->add_item_to_cart($item);

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