Redirect to requests page after accepting deletions

Fixes FS#43100.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2014-12-13 15:58:40 +01:00
parent 3b9c12715c
commit b56dceaa8a

View file

@ -106,7 +106,8 @@ if (check_token()) {
} }
if ($ret) { 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. */ /* Redirect back to package request page on success. */
header('Location: ' . get_pkgreq_route()); header('Location: ' . get_pkgreq_route());
exit(); exit();