appdb/include bugs.php

WineHQ wineowner at wine.codeweavers.com
Sun Jan 22 20:13:47 CST 2006


ChangeSet ID:	22446
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2006/01/22 20:13:47

Modified files:
	include        : bugs.php 

Log message:
	Tony Lambregts <tony.lambregts at gmail.com>
	Add bug number to bug link emails.  Fixes bug 4358.

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

Old revision  New revision  Changes     Path
 1.5           1.6           +3 -3       appdb/include/bugs.php

Index: appdb/include/bugs.php
diff -u -p appdb/include/bugs.php:1.5 appdb/include/bugs.php:1.6
--- appdb/include/bugs.php:1.5	23 Jan 2006  2:13:47 -0000
+++ appdb/include/bugs.php	23 Jan 2006  2:13:47 -0000
@@ -216,7 +216,7 @@ class Bug {
         {
             if(!$this->bQueued)
             {
-                $sSubject = "Bug Link for ".lookup_app_name($this->iAppId)." ".lookup_version_name($this->iVersionId)." added by ".$_SESSION['current']->sRealname;
+                $sSubject = "Link between Bug ".$this->iBug_id." and ".lookup_app_name($this->iAppId)." ".lookup_version_name($this->iVersionId)." added by ".$_SESSION['current']->sRealname;
                 $sMsg  = APPDB_ROOT."appview.php?versionId=".$this->iVersionId."\n";
                 if($this->iSubmitterId)
                 {
@@ -227,7 +227,7 @@ class Bug {
                 addmsg("The Bug Link was successfully added into the database.", "green");
             } else // Bug Link queued.
             {
-                $sSubject = "Bug Link for ".lookup_app_name($this->iAppId)." ".lookup_version_name($this->iVersionId)." submitted by ".$_SESSION['current']->sRealname;
+                $sSubject = "Link between Bug ".$this->iBug_id." and ".lookup_app_name($this->iAppId)." ".lookup_version_name($this->iVersionId)." submitted by ".$_SESSION['current']->sRealname;
                 $sMsg  = APPDB_ROOT."appview.php?versionId=".$this->iVersionId."\n";
                 $sMsg .= "This Bug Link has been queued.";
                 $sMsg .= "\n";
@@ -235,7 +235,7 @@ class Bug {
             }
         } else // Bug Link deleted.
         {
-            $sSubject = "Bug Link for ".lookup_app_name($this->iAppId)." ".lookup_version_name($this->iVersionId)." deleted by ".$_SESSION['current']->sRealname;
+            $sSubject = "Link between Bug ".$this->iBug_id." and ".lookup_app_name($this->iAppId)." ".lookup_version_name($this->iVersionId)." deleted by ".$_SESSION['current']->sRealname;
             $sMsg  = APPDB_ROOT."appview.php?versionId=".$this->iVersionId."\n";
             addmsg("Bug Link deleted.", "green");
         }



More information about the wine-cvs mailing list