From dca4db9d4dffb7840885abf20d50154ed72462a0 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sat, 24 Sep 2016 05:15:06 -0700 Subject: convert oembed tools to use json arrays rather than json objects --- Zotlabs/Module/Oembed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Module') 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 ""; $src = base64url_decode(argv(1)); $j = oembed_fetch_url($src); - echo $j->html; + echo $j['html']; // logger('mod-oembed ' . $h, LOGGER_ALL); echo ""; } -- cgit v1.2.3