diff --git a/b2-include/b2template.functions.php b/b2-include/b2template.functions.php index db42ce4c82..be8dc58a8e 100644 --- a/b2-include/b2template.functions.php +++ b/b2-include/b2template.functions.php @@ -979,16 +979,19 @@ function comment_author_link() { $author = stripslashes(&$comment->comment_author); $url = str_replace('http://url', '', $url); - - if (empty($url) && empty($email)) return $author; + + if (empty($url) && empty($email)) { + echo $author; + return; + } echo '' . $author . ''; }