summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorCallan Barrett <wizzomafizzo@gmail.com>2008-06-07 17:32:32 +0800
committerCallan Barrett <wizzomafizzo@gmail.com>2008-06-07 17:33:02 +0800
commit435e2c6c1aa2bc37c5c06fa3dbdd81088cc524fa (patch)
tree9c8ba1fc636833cea504df4dfb56fdde8a7b6b4a /web
parentcc1f323d3203271bdc3b34fb072e2d13350f55ba (diff)
downloadaurweb-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')
-rw-r--r--web/lib/acctfuncs.inc2
1 files changed, 1 insertions, 1 deletions
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 = "";
}