appdb/include application.php
WineHQ
wineowner at wine.codeweavers.com
Wed Jun 13 19:52:57 CDT 2007
ChangeSet ID: 31195
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner at winehq.org 2007/06/13 19:52:57
Modified files:
include : application.php
Log message:
Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Fix admin response in submitter notifications. Some code was in the wrong place inside of a
switch statement
Patch: http://cvs.winehq.org/patch.py?id=31195
Old revision New revision Changes Path
1.114 1.115 +3 -2 appdb/include/application.php
Index: appdb/include/application.php
diff -u -p appdb/include/application.php:1.114 appdb/include/application.php:1.115
--- appdb/include/application.php:1.114 14 Jun 2007 0:52:57 -0000
+++ appdb/include/application.php 14 Jun 2007 0:52:57 -0000
@@ -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);
}
}
More information about the wine-cvs
mailing list