]> git.mxchange.org Git - friendica.git/commitdiff
See issue 1864. Bugfix for the Oembed handling.
authorMichael Vogel <icarus@dabo.de>
Fri, 28 Aug 2015 09:39:52 +0000 (11:39 +0200)
committerMichael Vogel <icarus@dabo.de>
Fri, 28 Aug 2015 09:39:52 +0000 (11:39 +0200)
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