From 435e2c6c1aa2bc37c5c06fa3dbdd81088cc524fa Mon Sep 17 00:00:00 2001 From: Callan Barrett Date: Sat, 7 Jun 2008 17:32:32 +0800 Subject: Fix logging in from package page Patch by: BaSh Adds query string to url when logging in Signed-off-by: Callan Barrett --- web/lib/acctfuncs.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web') diff --git a/web/lib/acctfuncs.inc b/web/lib/acctfuncs.inc index 271361e..dc19ccd 100644 --- a/web/lib/acctfuncs.inc +++ b/web/lib/acctfuncs.inc @@ -646,7 +646,7 @@ function try_login() { setcookie("AURSID", $new_sid, 0, "/"); # header("Location: /index.php"); - header("Location: " . $_SERVER['PHP_SELF']); + header("Location: " . $_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING']); $login_error = ""; } -- cgit v1.2.3-70-g09d2