From 271b8384e7adc36b7c1a3df813c6a6156c661a0d Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Fri, 7 Dec 2012 12:07:56 +0100 Subject: [PATCH] Fix warning about redirect_url not set --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index 622a42982c3..c4ed1f6ba7c 100755 --- a/lib/util.php +++ b/lib/util.php @@ -340,8 +340,8 @@ class OC_Util { } if (isset($_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); } -- 2.39.5