From 0d513e1468d3f37ebdc4e237ccb1855fc6d273a2 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 1 Jul 2014 20:06:41 +0200 Subject: 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 --- web/lib/pkgbasefuncs.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/lib/pkgbasefuncs.inc.php') diff --git a/web/lib/pkgbasefuncs.inc.php b/web/lib/pkgbasefuncs.inc.php index 32c2d9b..0ee2c31 100644 --- a/web/lib/pkgbasefuncs.inc.php +++ b/web/lib/pkgbasefuncs.inc.php @@ -540,7 +540,7 @@ function pkgbase_delete ($atype, $base_ids, $merge_base_id, $via) { $dbh->exec($q); if ($via) { - pkgreq_close(intval($via)); + pkgreq_close(intval($via), true); } return array(true, __("The selected packages have been deleted.")); @@ -598,7 +598,7 @@ function pkgbase_adopt ($atype, $base_ids, $action=true, $via) { $dbh->exec($q); if ($via) { - pkgreq_close(intval($via)); + pkgreq_close(intval($via), true); } if ($action) { -- cgit v1.2.3-70-g09d2