aboutsummaryrefslogtreecommitdiffstats
path: root/mod/oembed.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-16 20:34:21 -0700
committerfriendica <info@friendica.com>2014-03-16 20:34:21 -0700
commitecb2e52a7411a8a39b8030964604f0f28f2facce (patch)
treebbe36d04ddb359002cc0aa6976dd6a2c34d73747 /mod/oembed.php
parent6f9fde997bd0d6c59045220a1afc2060b857c83a (diff)
downloadvolse-hubzilla-ecb2e52a7411a8a39b8030964604f0f28f2facce.tar.gz
volse-hubzilla-ecb2e52a7411a8a39b8030964604f0f28f2facce.tar.bz2
volse-hubzilla-ecb2e52a7411a8a39b8030964604f0f28f2facce.zip
little fixes of hopefully nil significance
Diffstat (limited to 'mod/oembed.php')
-rw-r--r--mod/oembed.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/oembed.php b/mod/oembed.php
index adda63cf2..a053a8c98 100644
--- a/mod/oembed.php
+++ b/mod/oembed.php
@@ -19,8 +19,7 @@ function oembed_init(&$a){
else {
echo "<html><body>";
- $url = base64url_decode(argv(1));
- $j = oembed_fetch_url($url);
+ $j = oembed_fetch_url(base64url_decode(argv(1)));
echo $j->html;
// logger('mod-oembed ' . $j->html, LOGGER_ALL);
echo "</body></html>";