Fix warning about redirect_url not set

This commit is contained in:
Bart Visscher 2012-12-07 12:07:56 +01:00
parent d2e842fcc9
commit 271b8384e7
1 changed files with 1 additions and 1 deletions

View File

@ -340,8 +340,8 @@ class OC_Util {
} }
if (isset($_REQUEST['redirect_url'])) { if (isset($_REQUEST['redirect_url'])) {
$redirect_url = OC_Util::sanitizeHTML($_REQUEST['redirect_url']); $redirect_url = OC_Util::sanitizeHTML($_REQUEST['redirect_url']);
$parameters['redirect_url'] = urlencode($redirect_url);
} }
$parameters['redirect_url'] = urlencode($redirect_url);
OC_Template::printGuestPage("", "login", $parameters); OC_Template::printGuestPage("", "login", $parameters);
} }