From 3a6034a60d8920b01ae8dc25ed2e95352ae685a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Sat, 9 Dec 2006 04:30:48 +0000 Subject: [PATCH] If a user deletes a bug link he has submitted himself, don't send him an e-mail saying the link has been rejected. --- include/bugs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bugs.php b/include/bugs.php index 6d49b0b..dfc639b 100644 --- a/include/bugs.php +++ b/include/bugs.php @@ -159,7 +159,7 @@ class Bug { if(!$bSilent) $this->SendNotificationMail(true); } - if($this->iSubmitterId) + if($this->iSubmitterId && ($this->iSubmitterId != $oUser->iUserId)) { $this->mailSubmitter(true); }