svn: /web/php-bugs/trunk/www/ bug.php
| From: | Felipe Pena | Date: | Mon, 15 Nov 2010 21:28:54 +0000 |
| Subject: | svn: /web/php-bugs/trunk/www/ bug.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-9432@lists.php.net to get a copy of this message | ||
felipe Mon, 15 Nov 2010 21:28:54 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=305384
Log:
- Just turn private the bug marked to "Security related" when it was not Closed
Changed paths:
U web/php-bugs/trunk/www/bug.php
Modified: web/php-bugs/trunk/www/bug.php
===================================================================
--- web/php-bugs/trunk/www/bug.php 2010-11-15 21:12:14 UTC (rev 305383)
+++ web/php-bugs/trunk/www/bug.php 2010-11-15 21:28:54 UTC (rev 305384)
@@ -451,7 +451,9 @@
// Changing the package to 'Security related' should mark the bug as private
automatically
if ($bug['package_name'] != $_POST['in']['package_name']) {
if ($_POST['in']['package_name'] == 'Security related') {
- $is_private = $_POST['in']['private'] = 'Y';
+ if ($_POST['in']['status'] != 'Closed') {
+ $is_private = $_POST['in']['private'] = 'Y';
+ }
} else {
$is_private = $_POST['in']['private'] = 'N';
}