From b56dceaa8a7804185f074e79a361b7c9e37f9b36 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sat, 13 Dec 2014 15:58:40 +0100 Subject: Redirect to requests page after accepting deletions Fixes FS#43100. Signed-off-by: Lukas Fleischer --- web/html/pkgbase.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web') diff --git a/web/html/pkgbase.php b/web/html/pkgbase.php index 691639c..bdce516 100644 --- a/web/html/pkgbase.php +++ b/web/html/pkgbase.php @@ -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(); -- cgit v1.2.3-70-g09d2