fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-08-22 08:16 am

[dw-free] Spam Reports: mode=view should have link to journal of suspected spammer

[commit: http://hg.dwscoalition.org/dw-free/rev/8de9897c370d]

http://bugs.dwscoalition.org/show_bug.cgi?id=2348

Adds a usertag in the header of the page.

Patch by [staff profile] denise.

Files modified:
  • htdocs/admin/spamreports.bml
--------------------------------------------------------------------------------
diff -r 84f9c1bc8329 -r 8de9897c370d htdocs/admin/spamreports.bml
--- a/htdocs/admin/spamreports.bml	Mon Aug 22 14:57:06 2011 +0800
+++ b/htdocs/admin/spamreports.bml	Mon Aug 22 16:16:02 2011 +0800
@@ -178,7 +178,7 @@
             $what += 0;
             my $u = LJ::load_userid($what);
             return $error->('No such posterid.') unless $u;
-            $title = "Spam Reports - By $u->{user} ($state)";
+            $title = "Spam Reports - By" . $u->ljuser_display; . "($state)";
         } elsif ($by eq 'poster') {
             my $u = LJ::load_user($what);
             return $error->('No such user.') unless $u;
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org