diff options
author | redmatrix <mike@macgirvin.com> | 2016-09-24 05:15:06 -0700 |
---|---|---|
committer | redmatrix <mike@macgirvin.com> | 2016-09-24 05:15:06 -0700 |
commit | dca4db9d4dffb7840885abf20d50154ed72462a0 (patch) | |
tree | 163ab255cece31d12b0e9f6fbcc737ee8610e8cd /include/bbcode.php | |
parent | 46504581579c5ad06ae4d4e5962fbc4130b8b6e2 (diff) | |
download | volse-hubzilla-dca4db9d4dffb7840885abf20d50154ed72462a0.tar.gz volse-hubzilla-dca4db9d4dffb7840885abf20d50154ed72462a0.tar.bz2 volse-hubzilla-dca4db9d4dffb7840885abf20d50154ed72462a0.zip |
convert oembed tools to use json arrays rather than json objects
Diffstat (limited to 'include/bbcode.php')
-rw-r--r-- | include/bbcode.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php index 70c75e5c4..45dd5ef24 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -15,7 +15,7 @@ function tryoembed($match) { $o = oembed_fetch_url($url); - if ($o->type == 'error') + if ($o['type'] == 'error') return $match[0]; $html = oembed_format_object($o); |