Fix warning about redirect_url not set
This commit is contained in:
parent
d2e842fcc9
commit
271b8384e7
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue