summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2017-02-27 18:00:32 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2017-02-27 18:20:00 +0100
commitf1d95c09a87c726a0fa294fe373dc3c80334c58f (patch)
treeb00a05f25e5d26c2b99704b283cc29a19c6a2933 /web
parent9ec1cfa1923ffc28a7fb23aa94f408e16cd70837 (diff)
downloadaur-f1d95c09a87c726a0fa294fe373dc3c80334c58f.tar.gz
aur-f1d95c09a87c726a0fa294fe373dc3c80334c58f.tar.xz
pkgflag.php: Remove stray variable
Drop the fragment part of the redirection code which is an artifact of the original code copy-pasted in commit ca954fe (Do not redirect when showing errors during flagging, 2015-10-21). Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web')
-rw-r--r--web/html/pkgflag.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/pkgflag.php b/web/html/pkgflag.php
index 44849d88..25c8ccbb 100644
--- a/web/html/pkgflag.php
+++ b/web/html/pkgflag.php
@@ -28,7 +28,7 @@ if (check_token()) {
}
if ($ret) {
- header('Location: ' . get_pkgbase_uri($pkgbase_name) . $fragment);
+ header('Location: ' . get_pkgbase_uri($pkgbase_name));
exit();
}
}