Skip to content

Commit

Permalink
twivatar
Browse files Browse the repository at this point in the history
  • Loading branch information
voitto committed Jul 31, 2009
1 parent f7e51ea commit 2823677
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/omb/plugins/wp.php
Expand Up @@ -1396,9 +1396,8 @@ function get_avatar( $current_user_id, $pixels ) {
$avatar = profile_get_avatar($the_author);
} else {
$p = get_profile();
$avatar = profile_get_avatar($p);
elseif (!isset($the_post->id) || ($the_author->id == $p->id))
$avatar = $p->avatar;
if (!isset($the_post->id) || ($the_author->id == $p->id))
$avatar = profile_get_avatar($p);
}
if (!(is_microblog_theme()))
return '
Expand Down

0 comments on commit 2823677

Please sign in to comment.