diff options
Diffstat (limited to 'mod/oembed.php')
-rw-r--r-- | mod/oembed.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/oembed.php b/mod/oembed.php index 720a6d72b..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>"; |