oembed: There seems to be some bug with ombed (maybe passing a non working url) This small fix should avoid the error at this place and may directs to the source of the problem.
This commit is contained in:
parent
6c46c8333d
commit
c2abf0aeea
|
@ -62,6 +62,10 @@ function oembed_fetch_url($embedurl){
|
|||
}
|
||||
|
||||
$j = json_decode($txt);
|
||||
|
||||
if (!is_object($j))
|
||||
return false;
|
||||
|
||||
$j->embedurl = $embedurl;
|
||||
return $j;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue