mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
return if $furl is empty for some reason
This commit is contained in:
@@ -143,6 +143,10 @@ function oembed_fetch_url($embedurl){
|
||||
|
||||
$furl = ((local_channel() && $zrl) ? zid($embedurl) : $embedurl);
|
||||
|
||||
if (empty($furl)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if($action !== 'block' && (! Config::Get('system','oembed_cache_disable'))) {
|
||||
$txt = Cache::get('[' . App::$videowidth . '] ' . $furl);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user