Committer: azateev
LJSV-1484: Hardcoded support forum notifications via email for end-userU 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?" .