ChangeSet ID: 30924 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner@winehq.org 2007/02/02 21:39:52
Modified files: include : bugs.php
Log message: Alexander Nicolaysen Sørnes alex@thehandofagony.com Don't call mailSubmitter() if the submitter is performing the auction
Patch: http://cvs.winehq.org/patch.py?id=30924
Old revision New revision Changes Path 1.20 1.21 +2 -1 appdb/include/bugs.php
Index: appdb/include/bugs.php diff -u -p appdb/include/bugs.php:1.20 appdb/include/bugs.php:1.21 --- appdb/include/bugs.php:1.20 3 Feb 2007 3:39:52 -0000 +++ appdb/include/bugs.php 3 Feb 2007 3:39:52 -0000 @@ -159,7 +159,8 @@ class Bug { if(!$bSilent) $this->SendNotificationMail(true); } - if($this->iSubmitterId && ($this->iSubmitterId != $oUser->iUserId)) + if($this->iSubmitterId && + ($this->iSubmitterId != $_SESSION['current']->iUserId)) { $this->mailSubmitter(true); }