ChangeSet ID: 30435 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner@winehq.org 2006/12/08 22:30:48
Modified files: include : bugs.php
Log message: Alexander Nicolaysen Sørnes alex@thehandofagony.com If a user deletes a bug link he has submitted himself, don't send him an e-mail saying the link has been rejected.
Patch: http://cvs.winehq.org/patch.py?id=30435
Old revision New revision Changes Path 1.16 1.17 +1 -1 appdb/include/bugs.php
Index: appdb/include/bugs.php diff -u -p appdb/include/bugs.php:1.16 appdb/include/bugs.php:1.17 --- appdb/include/bugs.php:1.16 9 Dec 2006 4:30:48 -0000 +++ appdb/include/bugs.php 9 Dec 2006 4:30:48 -0000 @@ -159,7 +159,7 @@ class Bug { if(!$bSilent) $this->SendNotificationMail(true); } - if($this->iSubmitterId) + if($this->iSubmitterId && ($this->iSubmitterId != $oUser->iUserId)) { $this->mailSubmitter(true); }