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

[livejournal] r17345: LJSUP-6767

Committer: gprochaev
LJSUP-6767

U   trunk/cgi-bin/LJ/Event/CommunityJoinReject.pm
Modified: trunk/cgi-bin/LJ/Event/CommunityJoinReject.pm
===================================================================
--- trunk/cgi-bin/LJ/Event/CommunityJoinReject.pm	2010-09-10 08:28:33 UTC (rev 17344)
+++ trunk/cgi-bin/LJ/Event/CommunityJoinReject.pm	2010-09-10 08:31:28 UTC (rev 17345)
@@ -127,7 +127,7 @@
     if ($cu->is_community && $mt->can_manage ($cu)) {
         my $rej_user = LJ::load_userid($self->{'args'}[2]);
         my $lang    = $mt->prop('browselang');
-        return LJ::Lang::get_text($lang, 'esn.comm_join_reject.maint.email_subject', undef, { 'username' => $rej_user->{name}, 'community' => $cu->{user} });
+        return LJ::Lang::get_text($lang, 'esn.comm_join_reject.maint.email_subject', undef, { 'username' => $rej_user->display_username, 'community' => $cu->{user} });
     } else {
         my $lang    = $u->prop('browselang');
         return LJ::Lang::get_text($lang, 'esn.comm_join_reject.email_subject', undef, { 'community' => $cu->{user} });
@@ -146,10 +146,10 @@
     if ($mt && $mt->can_manage ($cu)) {
         my $lang    = $mt->prop('browselang');
         return LJ::Lang::get_text($lang, 'esn.comm_join_reject.maint.email_text', undef, {
-                user        => $mt->{'name'},
+                user        => $mt->ljuser_display,
                 username    => $rej_u ? $rej_u->ljuser_display : '',
-                community   => $cu->{'user'},
-                maintainer  => $remover->{'user'},
+                community   => $cu->ljuser_display,
+                maintainer  => $remover->ljuser_display,
                 reason      => $reason,
                 sitename    => $LJ::SITENAME,
                 siteroot    => $LJ::SITEROOT,

Tags: livejournal, pm, 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