Browse Source

Bugfix: Avoid warning with non object OEmbed data

pull/2422/head
Michael Vogel 6 years ago
parent
commit
791ce24cd5
  1. 3
      include/bbcode.php

3
include/bbcode.php

@ -311,6 +311,9 @@ function tryoembed($match){
$o = oembed_fetch_url($url);
if (!is_object($o))
return $match[0];
if (isset($match[2]))
$o->title = $match[2];

Loading…
Cancel
Save