aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Oembed.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 /Zotlabs/Module/Oembed.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 'Zotlabs/Module/Oembed.php')
-rw-r--r--Zotlabs/Module/Oembed.php2
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>";
}