Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[ljcom] r11093: LJSUP-10140 (fix calls of LJ::Lang::set_...

Committer: ailyin
LJSUP-10140 (fix calls of LJ::Lang::set_text to use the updated prototype)
U   trunk/cgi-bin/LJ/Pay/ShopVGift.pm
Modified: trunk/cgi-bin/LJ/Pay/ShopVGift.pm
===================================================================
--- trunk/cgi-bin/LJ/Pay/ShopVGift.pm	2011-10-14 07:31:04 UTC (rev 11092)
+++ trunk/cgi-bin/LJ/Pay/ShopVGift.pm	2011-10-14 07:43:52 UTC (rev 11093)
@@ -315,15 +315,15 @@
 
     my $res = 0;
     if (defined $opts{fromuser}) {
-        LJ::Lang::set_text($dbh, $domain->{'dmid'}, $lang, "vgift.".$self->keyname.".fromuser", $opts{fromuser}, $mlopts);
+        LJ::Lang::set_text($domain->{'dmid'}, $lang, "vgift.".$self->keyname.".fromuser", $opts{fromuser}, $mlopts);
         $res++;
     }
     if (defined $opts{anon}) {
-        LJ::Lang::set_text($dbh, $domain->{'dmid'}, $lang, "vgift.".$self->keyname.".anon", $opts{anon}, $mlopts);
+        LJ::Lang::set_text($domain->{'dmid'}, $lang, "vgift.".$self->keyname.".anon", $opts{anon}, $mlopts);
         $res++;
     }
     if (defined $opts{display}) {
-        LJ::Lang::set_text($dbh, $domain->{'dmid'}, $lang, "pay.vgift.".$self->keyname, $opts{display}, $mlopts);
+        LJ::Lang::set_text($domain->{'dmid'}, $lang, "pay.vgift.".$self->keyname, $opts{display}, $mlopts);
         $res++;
     }
 

Tags: ailyin, andy, 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