Skip to content

Commit

Permalink
Fix 6309: RSS Author Email Tag always shows @example.com
Browse files Browse the repository at this point in the history
  • Loading branch information
giallu committed Dec 29, 2008
1 parent 85916e7 commit 063ef75
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions news_rss.php
Expand Up @@ -144,13 +144,10 @@
$author = string_rss_links( user_get_name( $v_poster_id ) );
if ( access_has_global_level( config_get( 'show_user_email_threshold' ) ) ) {
$t_author_email = user_get_field( $v_poster_id, 'email' );
if ( is_blank( $t_author_email ) ) {
$t_author_email = $author . '@example.com';
if ( ! is_blank( $t_author_email ) ) {
$author .= ' <' . $t_author_email . '>';
}
} else {
$t_author_email = $author . '@example.com';
}
$author .= ' <' . $t_author_email . '>';

# $comments = 'http://www.example.com/sometext.php?somevariable=somevalue&comments=1'; # url to comment page rss 2.0 value
$comments = '';
Expand Down

0 comments on commit 063ef75

Please sign in to comment.