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 <[email protected]>
---
 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 44849d8..25c8ccb 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();
        }
 }
-- 
2.12.0

Reply via email to