mirror of
https://github.com/friendica/friendica
synced 2024-11-10 07:02:54 +00:00
Merge pull request #1865 from annando/issue-1864
See issue 1864. Bugfix for the Oembed handling.
This commit is contained in:
commit
ba6741932a
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue