From: Lukas Fleischer <[email protected]>

Fixes FS#43100.

Signed-off-by: Lukas Fleischer <[email protected]>
---
 web/html/pkgbase.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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();
-- 
2.1.3

Reply via email to