summaryrefslogtreecommitdiffstats
path: root/web/html/pkgbase.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/pkgbase.php')
-rw-r--r--web/html/pkgbase.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/html/pkgbase.php b/web/html/pkgbase.php
index 691639ce..bdce516b 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();