Be explicit about accepted requests in emails

When sending notification emails after closing a request, be explicit
about whether the request has been accepted or not.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2014-07-01 20:06:41 +02:00
parent 707b1bb878
commit 0d513e1468
3 changed files with 8 additions and 5 deletions

View file

@ -99,7 +99,7 @@ if (check_token()) {
} elseif (current_action("do_FileRequest")) {
list($ret, $output) = pkgreq_file($ids, $_POST['type'], $_POST['merge_into'], $_POST['comments']);
} elseif (current_action("do_CloseRequest")) {
list($ret, $output) = pkgreq_close($_POST['reqid']);
list($ret, $output) = pkgreq_close($_POST['reqid'], false);
}
if (isset($_REQUEST['comment'])) {