From 4a41fcdbeacc33bdf81e74f51a83fc402bcc6c7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Wed, 27 Dec 2006 03:23:01 +0000 Subject: [PATCH] If a person deletes a screenshot he has submitted himself, don't send him an extra email about it. --- include/screenshot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/screenshot.php b/include/screenshot.php index 2b3dfea..1e3f9f8 100644 --- a/include/screenshot.php +++ b/include/screenshot.php @@ -144,7 +144,7 @@ class Screenshot { if(!$bSilent) $this->mailMaintainers(true); } - if($this->iSubmitterId) + if($this->iSubmitterId && ($this->iSubmitterId != $_SESSION['current']->iUserId)) { $this->mailSubmitter(true); }