diff options
author | Callan Barrett <wizzomafizzo@gmail.com> | 2008-06-07 11:32:32 +0200 |
---|---|---|
committer | Callan Barrett <wizzomafizzo@gmail.com> | 2008-06-07 11:33:02 +0200 |
commit | 435e2c6c1aa2bc37c5c06fa3dbdd81088cc524fa (patch) | |
tree | 9c8ba1fc636833cea504df4dfb56fdde8a7b6b4a /web/lib/acctfuncs.inc | |
parent | cc1f323d3203271bdc3b34fb072e2d13350f55ba (diff) | |
download | aur-435e2c6c1aa2bc37c5c06fa3dbdd81088cc524fa.tar.gz aur-435e2c6c1aa2bc37c5c06fa3dbdd81088cc524fa.tar.xz |
Fix logging in from package page
Patch by: BaSh <bash.lnx@gmail.com>
Adds query string to url when logging in
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Diffstat (limited to 'web/lib/acctfuncs.inc')
-rw-r--r-- | web/lib/acctfuncs.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/acctfuncs.inc b/web/lib/acctfuncs.inc index 271361e4..dc19ccdf 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 = ""; } |