diff --git a/news_rss.php b/news_rss.php index 64c0d0e1bd..e67e5edd12 100644 --- a/news_rss.php +++ b/news_rss.php @@ -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 = '';