arteman (arteman) wrote in changelog,
arteman
arteman
changelog

[livejournal] r22415: LJSV-1484: Hardcoded support forum notif...

Committer: azateev
LJSV-1484: Hardcoded support forum notifications via email for end-user
U   trunk/cgi-bin/supportlib.pl
Modified: trunk/cgi-bin/supportlib.pl
===================================================================
--- trunk/cgi-bin/supportlib.pl	2012-07-10 13:14:27 UTC (rev 22414)
+++ trunk/cgi-bin/supportlib.pl	2012-07-10 14:58:48 UTC (rev 22415)
@@ -931,7 +931,7 @@
     # also, don't send them their own replies:
     return if ($sp->{'requserid'} == $res->{'userid'});
 
-    my $lang = $sp->{'language'} || $LJ::DEFAULT_LANG;
+    my $lang = LJ::Support::prop($sp->{'spid'}, 'language') || $LJ::DEFAULT_LANG;
     my ($username, $ljuser);
     if ($u) {
         if ($u->prop('browselang')) {
@@ -963,7 +963,7 @@
                   );
     }
 
-    #preparting [[closeable]] param
+    #preparing [[closeable]] param
     my $closeable='';
     if ($sp->{_cat}->{user_closeable}) {
         my $closeurl = "$LJ::SITEROOT/support/act.bml?" .

Tags: arteman, azateev, livejournal, pl
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