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>
This commit is contained in:
Lukas Fleischer 2017-02-27 18:00:32 +01:00
parent 9ec1cfa192
commit f1d95c09a8

View file

@ -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();
}
}