svn: /web/php-bugs/trunk/include/ functions.php
| From: | Felipe Pena | Date: | Sat, 02 Jul 2011 18:36:13 +0000 |
| Subject: | svn: /web/php-bugs/trunk/include/ functions.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-11437@lists.php.net to get a copy of this message | ||
felipe Sat, 02 Jul 2011 18:36:13 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=312819
Log:
- Fix logic
Changed paths:
U web/php-bugs/trunk/include/functions.php
Modified: web/php-bugs/trunk/include/functions.php
===================================================================
--- web/php-bugs/trunk/include/functions.php 2011-07-02 18:32:50 UTC (rev 312818)
+++ web/php-bugs/trunk/include/functions.php 2011-07-02 18:36:13 UTC (rev 312819)
@@ -973,7 +973,7 @@
$sdesc = txfield('sdesc', $bug, $in);
/* send mail if status was changed, there is a comment, private turned on/off or the bug type was
changed to/from Security */
- if (!empty($in['status']) || $in['status'] != $bug['status'] ||
$ncomment != '' ||
+ if (empty($in['status']) || $in['status'] != $bug['status'] ||
$ncomment != '' ||
(isset($in['private']) && $in['private'] !=
$bug['private']) ||
(isset($in['bug_type']) && $in['bug_type'] !=
$bug['bug_type'] &&
($in['bug_type'] == 'Security' || $bug['bug_type'] ==
'Security'))) {