From 89310fac44a795bec7c0bdd06fc0744f8fd27852 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Sun, 8 Jun 2003 10:12:50 +0000 Subject: [PATCH] fixed bug in comment_author_link. git-svn-id: https://develop.svn.wordpress.org/trunk@193 602fd350-edb4-49c9-b593-d223f7449a82 --- b2-include/b2template.functions.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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 . ''; }