]> git.mxchange.org Git - friendica.git/commitdiff
Fix blank reponse if no siteinfo are fetched
authorfabrixxm <fabrix.xm@gmail.com>
Sun, 22 Mar 2015 10:03:46 +0000 (11:03 +0100)
committerfabrixxm <fabrix.xm@gmail.com>
Sun, 22 Mar 2015 10:03:46 +0000 (11:03 +0100)
mod/parse_url.php

index 8920878a88a7af6b81aaf8507296004ef25d88de..7f4bd29a08b292728e2c07b3bb0f457c796420c3 100644 (file)
@@ -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"];
        }