sforkowany z mirror/friendica
See issue 1864. Bugfix for the Oembed handling.
rodzic
50dce314b2
commit
1dad181acb
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue