Browse Source

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.

pull/907/head
Michael Vogel 7 years ago
parent
commit
c2abf0aeea
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      include/oembed.php

+ 4
- 0
include/oembed.php View File

@ -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…
Cancel
Save