mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Redirect to requests page after accepting deletions
Fixes FS#43100. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
3b9c12715c
commit
b56dceaa8a
1 changed files with 2 additions and 1 deletions
|
@ -106,7 +106,8 @@ if (check_token()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($ret) {
|
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. */
|
/* Redirect back to package request page on success. */
|
||||||
header('Location: ' . get_pkgreq_route());
|
header('Location: ' . get_pkgreq_route());
|
||||||
exit();
|
exit();
|
||||||
|
|
Loading…
Add table
Reference in a new issue