From a827db238fb127db68a11f709c0b51b87e8d79e4 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Mon, 9 May 2005 22:12:19 +0000 Subject: [PATCH] If 'replyText' is set when deleting an application we should include this reply text when emailing the maintainers with the deletion message. --- include/application.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/application.php b/include/application.php index f904c31..0ee78fa 100644 --- a/include/application.php +++ b/include/application.php @@ -326,6 +326,14 @@ class Application { break; case "delete": $sSubject = $this->sName." has been deleted by ".$_SESSION['current']->sRealname; + + /* if replyText is set we should report the reason the application was deleted + if($_REQUEST['replyText']) + { + $sMsg .= "Reason given:\n"; + $sMsg .= $_REQUEST['replyText']."\n"; /* append the reply text, if there is any */ + } + addmsg("Application deleted.", "green"); break; }