mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2010-03-08 10:37 pm

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

[commit: http://hg.dwscoalition.org/dw-free/rev/7c4391ba954e]

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

Link to the user in spamreports, don't just say their name.

Patch by [staff profile] denise.

Files modified:
  • htdocs/admin/spamreports.bml
--------------------------------------------------------------------------------
diff -r 842430329858 -r 7c4391ba954e htdocs/admin/spamreports.bml
--- a/htdocs/admin/spamreports.bml	Mon Mar 08 22:35:53 2010 +0000
+++ b/htdocs/admin/spamreports.bml	Mon Mar 08 22:37:45 2010 +0000
@@ -182,7 +182,7 @@ _c?>
         } elsif ($by eq 'poster') {
             my $u = LJ::load_user($what);
             return $error->('No such user.') unless $u;
-            $title = "Spam Reports - Comments By $u->{user}";
+            $title = "Spam Reports - Comments By " . $u->ljuser_display;
 
             # Now just pretend that user used 'posterid'
             $by = 'posterid';
--------------------------------------------------------------------------------