summaryrefslogtreecommitdiffstats
path: root/web/html/pkgbase.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-07-04 11:00:07 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-07-04 11:10:50 +0200
commit4645bcbacbc4fd2fba2a3f28d6cd23bdfb184a9d (patch)
treebf76716bc018a15d0206b61816f3e945a14912e1 /web/html/pkgbase.php
parent8a465182babccec10b8e789dbc871db3beb9bec5 (diff)
downloadaur-4645bcbacbc4fd2fba2a3f28d6cd23bdfb184a9d.tar.gz
aur-4645bcbacbc4fd2fba2a3f28d6cd23bdfb184a9d.tar.xz
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>
Diffstat (limited to 'web/html/pkgbase.php')
-rw-r--r--web/html/pkgbase.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/pkgbase.php b/web/html/pkgbase.php
index 62021807..9725db77 100644
--- a/web/html/pkgbase.php
+++ b/web/html/pkgbase.php
@@ -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'])) {