diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-12-13 15:58:40 +0100 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-12-13 15:58:40 +0100 |
commit | b56dceaa8a7804185f074e79a361b7c9e37f9b36 (patch) | |
tree | ab47043c8dfcba7add70733a304665fcf455abcf /web/html | |
parent | 3b9c12715c4b327d0299350d908a8d69a3654a37 (diff) | |
download | aurweb-b56dceaa8a7804185f074e79a361b7c9e37f9b36.tar.xz |
Redirect to requests page after accepting deletions
Fixes FS#43100.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html')
-rw-r--r-- | web/html/pkgbase.php | 3 |
1 files changed, 2 insertions, 1 deletions
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(); |