aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-24 05:15:06 -0700
committerredmatrix <mike@macgirvin.com>2016-09-24 05:15:06 -0700
commitdca4db9d4dffb7840885abf20d50154ed72462a0 (patch)
tree163ab255cece31d12b0e9f6fbcc737ee8610e8cd /include/bbcode.php
parent46504581579c5ad06ae4d4e5962fbc4130b8b6e2 (diff)
downloadvolse-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.php2
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);