appdb/include application.php version.php

WineHQ wineowner at wine.codeweavers.com
Sun Dec 4 22:19:14 CST 2005


ChangeSet ID:	21658
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2005/12/04 22:19:14

Modified files:
	include        : application.php version.php 

Log message:
	Chris Morgan <cmorgan at alum.wpi.edu>
	Fix SendNotificationEmail() so it appends to the existing message in the 'edit' case instead of overwriting the message passed in

Patch: http://cvs.winehq.org/patch.py?id=21658

Old revision  New revision  Changes     Path
 1.38          1.39          +1 -1       appdb/include/application.php
 1.43          1.44          +1 -1       appdb/include/version.php

Index: appdb/include/application.php
diff -u -p appdb/include/application.php:1.38 appdb/include/application.php:1.39
--- appdb/include/application.php:1.38	5 Dec 2005  4:19:14 -0000
+++ appdb/include/application.php	5 Dec 2005  4:19:14 -0000
@@ -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":
Index: appdb/include/version.php
diff -u -p appdb/include/version.php:1.43 appdb/include/version.php:1.44
--- appdb/include/version.php:1.43	5 Dec 2005  4:19:14 -0000
+++ appdb/include/version.php	5 Dec 2005  4:19:14 -0000
@@ -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":



More information about the wine-cvs mailing list