From 369b40b046e31cf379e824400cd5ef089033347e Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Mon, 5 Dec 2005 04:19:14 +0000 Subject: [PATCH] Fix SendNotificationEmail() so it appends to the existing message in the 'edit' case instead of overwriting the message passed in --- include/application.php | 2 +- include/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/application.php b/include/application.php index d5d8d2e..b264f1f 100644 --- a/include/application.php +++ b/include/application.php @@ -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": diff --git a/include/version.php b/include/version.php index d075c28..207470b 100644 --- a/include/version.php +++ b/include/version.php @@ -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":