mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Allow for adding a comment when closing a request
This allows Trusted Users to optionally add a comment when closing a request. The comment is included in the notification email that is sent to the requests mailing list. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
8a465182ba
commit
4645bcbacb
4 changed files with 20 additions and 6 deletions
|
@ -105,7 +105,7 @@ if (check_token()) {
|
|||
$ret = false;
|
||||
}
|
||||
} elseif (current_action("do_CloseRequest")) {
|
||||
list($ret, $output) = pkgreq_close($_POST['reqid'], $_POST['reason']);
|
||||
list($ret, $output) = pkgreq_close($_POST['reqid'], $_POST['reason'], $_POST['comments']);
|
||||
}
|
||||
|
||||
if (isset($_REQUEST['comment'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue