aboutsummaryrefslogtreecommitdiffstats
path: root/mod/oembed.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-10-08 20:37:46 -0700
committerfriendica <info@friendica.com>2014-10-08 20:37:46 -0700
commit9ac12d6f328c50a46f487da501ee775fdf9b58f8 (patch)
tree1cec76c9549ae1a8023a690fa2266187fa84f46b /mod/oembed.php
parent6d0fbba7b4dd6d9059cb7e1a2750124f60bbf8c4 (diff)
downloadvolse-hubzilla-9ac12d6f328c50a46f487da501ee775fdf9b58f8.tar.gz
volse-hubzilla-9ac12d6f328c50a46f487da501ee775fdf9b58f8.tar.bz2
volse-hubzilla-9ac12d6f328c50a46f487da501ee775fdf9b58f8.zip
oembed issues
Diffstat (limited to 'mod/oembed.php')
-rw-r--r--mod/oembed.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/oembed.php b/mod/oembed.php
index a053a8c98..d4a4424f5 100644
--- a/mod/oembed.php
+++ b/mod/oembed.php
@@ -19,9 +19,10 @@ function oembed_init(&$a){
else {
echo "<html><body>";
- $j = oembed_fetch_url(base64url_decode(argv(1)));
+ $src = base64url_decode(argv(1));
+ $j = oembed_fetch_url($src);
echo $j->html;
-// logger('mod-oembed ' . $j->html, LOGGER_ALL);
+// logger('mod-oembed ' . $h, LOGGER_ALL);
echo "</body></html>";
}
}