distribution: Fix empty submitter notification email. Pass the correct argument to

mailSubmitter()
This commit is contained in:
Alexander Nicolaysen Sørnes
2007-06-16 17:02:25 +00:00
committed by WineHQ
parent b9588ab76e
commit bdca7c3bac

View File

@@ -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":