diff options
author | Paolo T <tuscanhobbit@users.noreply.github.com> | 2014-10-12 09:07:35 +0200 |
---|---|---|
committer | Paolo T <tuscanhobbit@users.noreply.github.com> | 2014-10-12 09:07:35 +0200 |
commit | 44c4c9c5c271a5ad163a089b1dc271d108a59700 (patch) | |
tree | c1376be525c85ab799f213ed79648d8c478da3d0 /mod/oembed.php | |
parent | 29faf955f6ce35af747d867133b3cb09e79ba675 (diff) | |
parent | fd00a24957fdb9413523b19a014658a0cc87b4bf (diff) | |
download | volse-hubzilla-44c4c9c5c271a5ad163a089b1dc271d108a59700.tar.gz volse-hubzilla-44c4c9c5c271a5ad163a089b1dc271d108a59700.tar.bz2 volse-hubzilla-44c4c9c5c271a5ad163a089b1dc271d108a59700.zip |
Merge pull request #4 from friendica/master
Fast forward local hub
Diffstat (limited to 'mod/oembed.php')
-rw-r--r-- | mod/oembed.php | 5 |
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>"; } } |