If a user deletes a bug link he has submitted himself, don't send him an

e-mail saying the link has been rejected.
This commit is contained in:
Alexander Nicolaysen Sørnes
2006-12-09 04:30:48 +00:00
committed by WineHQ
parent bdbc9ebec3
commit 3a6034a60d

View File

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