Fix SendNotificationEmail() so it appends to the existing message in the 'edit' case instead of overwriting the message passed in
This commit is contained in:
@@ -376,7 +376,7 @@ class Application {
|
||||
break;
|
||||
case "edit":
|
||||
$sSubject = $this->sName." has been modified by ".$_SESSION['current']->sRealname;
|
||||
$sMsg = APPDB_ROOT."appview.php?appId=".$this->iAppId."\n";
|
||||
$sMsg .= APPDB_ROOT."appview.php?appId=".$this->iAppId."\n";
|
||||
addmsg("Application modified.", "green");
|
||||
break;
|
||||
case "delete":
|
||||
|
||||
@@ -486,7 +486,7 @@ class Version {
|
||||
break;
|
||||
case "edit":
|
||||
$sSubject = "'".$oApp->sName." ".$this->sName."' has been modified by ".$_SESSION['current']->sRealname;
|
||||
$sMsg = APPDB_ROOT."appview.php?versionId=".$this->iVersionId."\n";
|
||||
$sMsg .= APPDB_ROOT."appview.php?versionId=".$this->iVersionId."\n";
|
||||
addmsg("Version modified.", "green");
|
||||
break;
|
||||
case "delete":
|
||||
|
||||
Reference in New Issue
Block a user