Don't call mailSubmitter() if the submitter is performing the auction

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-02-03 03:39:52 +00:00
committed by WineHQ
parent 5cbb5cdd4d
commit 00729ac39d

View File

@@ -159,7 +159,8 @@ class Bug {
if(!$bSilent) if(!$bSilent)
$this->SendNotificationMail(true); $this->SendNotificationMail(true);
} }
if($this->iSubmitterId && ($this->iSubmitterId != $oUser->iUserId)) if($this->iSubmitterId &&
($this->iSubmitterId != $_SESSION['current']->iUserId))
{ {
$this->mailSubmitter(true); $this->mailSubmitter(true);
} }