If a person deletes a screenshot he has submitted himself, don't send him an

extra email about it.
This commit is contained in:
Alexander Nicolaysen Sørnes
2006-12-27 03:23:01 +00:00
committed by WineHQ
parent 85b6503cf1
commit 4a41fcdbea

View File

@@ -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);
}