From 00729ac39d2f1e77010998fae2337ff5fc82f826 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Sat, 3 Feb 2007 03:39:52 +0000 Subject: [PATCH] Don't call mailSubmitter() if the submitter is performing the auction --- include/bugs.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/bugs.php b/include/bugs.php index 8ca0ffe..7291755 100644 --- a/include/bugs.php +++ b/include/bugs.php @@ -159,7 +159,8 @@ class Bug { if(!$bSilent) $this->SendNotificationMail(true); } - if($this->iSubmitterId && ($this->iSubmitterId != $oUser->iUserId)) + if($this->iSubmitterId && + ($this->iSubmitterId != $_SESSION['current']->iUserId)) { $this->mailSubmitter(true); }