[aur-dev] [PATCH] Redirect to requests page after accepting deletions
13 Dec
2014
13 Dec
'14
11:06 p.m.
From: Lukas Fleischer <archlinux@cryptocrack.de> Fixes FS#43100. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> --- 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
3624
Age (days ago)
3624
Last active (days ago)
0 comments
1 participants
participants (1)
-
archlinux@cryptocrack.de