Properly display default usericon.
Patch by afuna.
diffs (12 lines):
diff -r 183f37b5391e -r a338a9f322e8 cgi-bin/LJ/Userpic.pm
--- a/cgi-bin/LJ/Userpic.pm Sun May 10 06:45:23 2009 +0000
+++ b/cgi-bin/LJ/Userpic.pm Sun May 10 06:48:37 2009 +0000
@@ -73,7 +73,7 @@ sub get {
if (@cache) {
foreach my $curr (@cache) {
- return LJ::Userpic->new( $u, $curr->{picid} ) if $curr->{picid};
+ return LJ::Userpic->new( $u, $curr->{picid} ) if $curr->{picid} ==
$picid;
}
}
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog