1
0
Fork 0

Merge pull request #1865 from annando/issue-1864

See issue 1864. Bugfix for the Oembed handling.
This commit is contained in:
fabrixxm 2015-08-28 11:45:40 +02:00
commit ba6741932a

View file

@ -67,9 +67,6 @@ function oembed_fetch_url($embedurl, $no_rich_type = false){
$txt=trim($txt); $txt=trim($txt);
if ($txt==false || $txt=="")
return false;
if ($txt[0]!="{") if ($txt[0]!="{")
$txt='{"type":"error"}'; $txt='{"type":"error"}';
else //save in cache else //save in cache