aboutsummaryrefslogtreecommitdiffstats
path: root/mod/oembed.php
diff options
context:
space:
mode:
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>";
}
}