appdb/include distribution.php

WineHQ wineowner at wine.codeweavers.com
Sat Jun 16 12:02:25 CDT 2007


ChangeSet ID:	31213
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2007/06/16 12:02:25

Modified files:
	include        : distribution.php 

Log message:
	Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
	distribution: Fix empty submitter notification email. Pass the correct argument to
	mailSubmitter()

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

Old revision  New revision  Changes     Path
 1.35          1.36          +2 -2       appdb/include/distribution.php

Index: appdb/include/distribution.php
diff -u -p appdb/include/distribution.php:1.35 appdb/include/distribution.php:1.36
--- appdb/include/distribution.php:1.35	16 Jun 2007 17: 2:25 -0000
+++ appdb/include/distribution.php	16 Jun 2007 17: 2:25 -0000
@@ -190,7 +190,7 @@ class distribution {
         {
             $this->sQueued = 'false';
             // we send an e-mail to interested people
-            $this->mailSubmitter("unQueue");
+            $this->mailSubmitter("add");
             $this->SendNotificationMail();
             return true;
         } else
@@ -258,7 +258,7 @@ class distribution {
             case "add":
                {
                    $sSubject =  "Submitted Distribution accepted";
-                   $sMsg  = "The Distribution you submitted (".$this->sName.") has been accepted.";
+                   $sMsg  = "The Distribution you submitted (".$this->sName.") has been accepted.\n";
                }
             break;
             case "delete":



More information about the wine-cvs mailing list