From f1d95c09a87c726a0fa294fe373dc3c80334c58f Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Mon, 27 Feb 2017 18:00:32 +0100 Subject: 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 --- web/html/pkgflag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } } -- cgit v1.2.3-24-g4f1b