From bdca7c3baca22bb051f1bd60ef5432d75e4ec142 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Sat, 16 Jun 2007 17:02:25 +0000 Subject: [PATCH] distribution: Fix empty submitter notification email. Pass the correct argument to mailSubmitter() --- include/distribution.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/distribution.php b/include/distribution.php index d774dd9..b0dd115 100644 --- a/include/distribution.php +++ b/include/distribution.php @@ -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":