Commit b56dceaa authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

Redirect to requests page after accepting deletions



Fixes FS#43100.

Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
parent 3b9c1271
......@@ -106,7 +106,8 @@ if (check_token()) {
}
if ($ret) {
if (current_action("do_CloseRequest")) {
if (current_action("do_CloseRequest") ||
(current_action("do_Delete") && $_POST['via'])) {
/* Redirect back to package request page on success. */
header('Location: ' . get_pkgreq_route());
exit();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment