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 /Zotlabs/Module | |
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 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Oembed.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Oembed.php b/Zotlabs/Module/Oembed.php index 6f61ab4d8..9394e5942 100644 --- a/Zotlabs/Module/Oembed.php +++ b/Zotlabs/Module/Oembed.php @@ -25,7 +25,7 @@ class Oembed extends \Zotlabs\Web\Controller { echo "<html><head><base target=\"_blank\" /></head><body>"; $src = base64url_decode(argv(1)); $j = oembed_fetch_url($src); - echo $j->html; + echo $j['html']; // logger('mod-oembed ' . $h, LOGGER_ALL); echo "</body></html>"; } |