holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[ljcom] r11852: LJSUP-11857: Cyr sub domains

Committer: akanashin
LJSUP-11857: Cyr sub domains
U   trunk/cgi-bin/LJ/Console/Command/DomainRU.pm
Modified: trunk/cgi-bin/LJ/Console/Command/DomainRU.pm
===================================================================
--- trunk/cgi-bin/LJ/Console/Command/DomainRU.pm	2012-04-27 13:37:09 UTC (rev 11851)
+++ trunk/cgi-bin/LJ/Console/Command/DomainRU.pm	2012-04-27 14:04:11 UTC (rev 11852)
@@ -70,7 +70,7 @@
     } elsif ($action eq 'remove') {
         $reason ||= 'removed by support';
         LJ::Pay::Payment::PayItem::DomainRU->delete_domains($account, $domain, $reason);
-        LJ::Pay::Wallet->try_add($LJ::Pay::Payment::PayItem::DomainRU::shop_price);
+        LJ::Pay::Wallet->try_add(LJ::load_user($account), $LJ::Pay::Payment::PayItem::DomainRU::shop_price);
         return $self->print("Domain removed");
     } elsif ($action eq 'show') {
         my $domains = LJ::Pay::Payment::PayItem::DomainRU->get_domains($u);

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