From ca8e4f56dff0b13a712484297b282783766eb4b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Thu, 14 Jun 2007 00:52:57 +0000 Subject: [PATCH] Fix admin response in submitter notifications. Some code was in the wrong place inside of a switch statement --- include/application.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/application.php b/include/application.php index ca42ca7..33be7ac 100644 --- a/include/application.php +++ b/include/application.php @@ -372,7 +372,7 @@ class Application { { case "add": $sSubject = "Submitted application accepted"; - $sMsg = "The application you submitted (".$this->sName.") has been accepted by ".$_SESSION['current']->sRealname."."; + $sMsg = "The application you submitted (".$this->sName.") has been accepted by ".$_SESSION['current']->sRealname.".\n"; $sMsg .= "Administrator's Response:\n"; break; case "reject": @@ -390,10 +390,11 @@ class Application { $sMsg = "The application you submitted (".$this->sName.") has been deleted by ".$_SESSION['current']->sRealname."."; $sMsg .= "Reason given:\n"; break; + } $sMsg .= $aClean['sReplyText']."\n"; $sMsg .= "We appreciate your help in making the Application Database better for all users."; - } + mail_appdb($oSubmitter->sEmail, $sSubject ,$sMsg); } }