afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-02-26 06:29 pm

[dw-free] missing image in inbox for private messages

[commit: http://hg.dwscoalition.org/dw-free/rev/481b186a68e4]

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

Fix missing no-userpic image in inbox and tools/friendlist.bml

Patch by [staff profile] denise.

--------------------------------------------------------------------------------
diff -r 4ffd4a9da36d -r 481b186a68e4 cgi-bin/LJ/Event/UserMessageRecvd.pm
--- a/cgi-bin/LJ/Event/UserMessageRecvd.pm	Thu Feb 26 18:08:26 2009 +0000
+++ b/cgi-bin/LJ/Event/UserMessageRecvd.pm	Thu Feb 26 18:26:46 2009 +0000
@@ -209,7 +209,7 @@ sub display_pic {
 
     my $ret;
     $ret .= '<img src="';
-    $ret .= $pic ? $pic->url : "$LJ::STATPREFIX/horizon/nouserpic.png";
+    $ret .= $pic ? $pic->url : "$LJ::IMGPREFIX/nouserpic.png";
     $ret .= '" width="50" align="top" />';
 
     return $ret;
diff -r 4ffd4a9da36d -r 481b186a68e4 cgi-bin/LJ/Event/UserMessageSent.pm
--- a/cgi-bin/LJ/Event/UserMessageSent.pm	Thu Feb 26 18:08:26 2009 +0000
+++ b/cgi-bin/LJ/Event/UserMessageSent.pm	Thu Feb 26 18:26:46 2009 +0000
@@ -117,7 +117,7 @@ sub display_pic {
 
     my $ret;
     $ret .= '<img src="';
-    $ret .= $pic ? $pic->url : "$LJ::STATPREFIX/horizon/nouserpic.png";
+    $ret .= $pic ? $pic->url : "$LJ::IMGPREFIX/nouserpic.png";
     $ret .= '" width="50" align="top" />';
 
     return $ret;
diff -r 4ffd4a9da36d -r 481b186a68e4 htdocs/tools/friendlist.bml
--- a/htdocs/tools/friendlist.bml	Thu Feb 26 18:08:26 2009 +0000
+++ b/htdocs/tools/friendlist.bml	Thu Feb 26 18:26:46 2009 +0000
@@ -154,7 +154,7 @@ body<=
                 } elsif ($friend->is_syndicated) {
                     $pic .= "<img src='$LJ::IMGPREFIX/feed-userpic.gif' width='100' height='100' class='userpic-img' /><br />\n";
                 } else {
-                    $pic .= "<img src='$LJ::STATPREFIX/horizon/nouserpic.png' width='100' height='100' class='userpic-img' /><br />\n";
+                    $pic .= "<img src='$LJ::IMGPREFIX/nouserpic.png' width='100' height='100' class='userpic-img' /><br />\n";
                 }
                 $body .= "   <td valign='bottom' align='center' width='100'>$pic" . $friend->ljuser_display . "</td>\n";
             }
--------------------------------------------------------------------------------