diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/oembed.php | 3 | ||||
-rw-r--r-- | mod/settings.php | 1 |
2 files changed, 2 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>"; diff --git a/mod/settings.php b/mod/settings.php index 1d2a5ecf9..cc4842725 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -956,6 +956,7 @@ function settings_content(&$a) { '$lbl_p2macro' => t('Advanced Privacy Settings'), + '$expire' => array('expire',t('Expire other channel content after this many days'),$expire,t('0 or blank prevents expiration')), '$maxreq' => array('maxreq', t('Maximum Friend Requests/Day:'), intval($channel['channel_max_friend_req']) , t('May reduce spam activity')), '$permissions' => t('Default Post Permissions'), '$permdesc' => t("\x28click to open/close\x29"), |