]> git.mxchange.org Git - friendica.git/blobdiff - include/oembed.php
first work for consensus
[friendica.git] / include / oembed.php
index cbd856648f9366a8463fa8a7fbec17659078e84f..d4d7ce05e115212c096ac3e8bf7c19d22b620316 100755 (executable)
@@ -67,9 +67,6 @@ function oembed_fetch_url($embedurl, $no_rich_type = false){
 
                $txt=trim($txt);
 
-               if ($txt==false || $txt=="")
-                       return false;
-
                if ($txt[0]!="{")
                        $txt='{"type":"error"}';
                else    //save in cache