From: fabrixxm Date: Sun, 22 Mar 2015 10:03:46 +0000 (+0100) Subject: Fix blank reponse if no siteinfo are fetched X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=250b466ed38b25c0dccf93d30cec8202d41f0b6f;p=friendica.git Fix blank reponse if no siteinfo are fetched --- diff --git a/mod/parse_url.php b/mod/parse_url.php index 8920878a88..7f4bd29a08 100644 --- a/mod/parse_url.php +++ b/mod/parse_url.php @@ -471,10 +471,7 @@ function parse_url_content(&$a) { $sitedata = ""; - if($siteinfo["title"] == "") { - $sitedata .= sprintf($template,$url,$url,'') . $str_tags; - #killme(); - } else { + if($siteinfo["title"] != "") { $text = $siteinfo["text"]; $title = $siteinfo["title"]; }