[dw-free] Mood becomes alt text for default icon
[commit: http://hg.dwscoalition.org/dw-free/rev/9004e1aa16fa]
http://bugs.dwscoalition.org/show_bug.cgi?id=2917
Strip out automatic mood->icon keyword mapping, when no icon keyword is
chosen.
Patch by
wyntarvox.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2917
Strip out automatic mood->icon keyword mapping, when no icon keyword is
chosen.
Patch by
Files modified:
- cgi-bin/LJ/Entry.pm
--------------------------------------------------------------------------------
diff -r bb91dbeb7d9f -r 9004e1aa16fa cgi-bin/LJ/Entry.pm
--- a/cgi-bin/LJ/Entry.pm Mon Mar 07 15:25:32 2011 +0800
+++ b/cgi-bin/LJ/Entry.pm Mon Mar 07 15:34:46 2011 +0800
@@ -883,10 +883,7 @@ sub userpic_kw {
$key = $self->prop('picture_keyword');
}
- # ... but if that fails, then their custom
- # mood, then their standard mood
- return $key || $self->prop('current_mood') ||
- DW::Mood->mood_name( $self->prop('current_moodid') );
+ return $key;
}
# returns true if the user is allowed to share an entry via Tell a Friend
--------------------------------------------------------------------------------
