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; }