svn: /web/php-bugs/trunk/include/ functions.php

From: Date: Mon, 22 Nov 2010 14:38:40 +0000
Subject: svn: /web/php-bugs/trunk/include/ functions.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-9504@lists.php.net to get a copy of this message
felipe Mon, 22 Nov 2010 14:38:40 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=305654 Log: - Send mail when changing the bug type to "Security" 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 2010-11-22 13:37:39 UTC (rev 305653) +++ web/php-bugs/trunk/include/functions.php 2010-11-22 14:38:40 UTC (rev 305654) @@ -917,8 +917,8 @@ $subj = $bug_types[$bug['bug_type']]; $sdesc = txfield('sdesc', $bug, $in); - /* send mail if status was changed or there is a comment */ - if ($in['status'] != $bug['status'] || $ncomment != '') { + /* send mail if status was changed, there is a comment or the bug type was changed to Security */ + if ($in['status'] != $bug['status'] || $ncomment != '' || (isset($in['bug_type']) && $in['bug_type'] != $bug['bug_type'] && $in['bug_type'] == 'Security')) { if (isset($in['bug_type']) && $in['bug_type'] != $bug['bug_type']) { $subj = $bug_types[$bug['bug_type']] . '->' . $bug_types[$in['bug_type']]; }

« previous php.webmaster (#9504) next »