svn: /web/php-bugs/trunk/www/ bug.php
| From: | Philip Olson | Date: | Thu, 02 Jun 2011 05:59:25 +0000 |
| Subject: | svn: /web/php-bugs/trunk/www/ bug.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-11125@lists.php.net to get a copy of this message | ||
philip Thu, 02 Jun 2011 05:59:25 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=311724
Log:
Also hide patches when a bug is marked as spam. Idea from Adam Harvey (aharvey)
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 2011-06-02 02:16:23 UTC (rev 311723)
+++ web/php-bugs/trunk/www/bug.php 2011-06-02 05:59:25 UTC (rev 311724)
@@ -1029,7 +1029,7 @@
}
// Display patches
-if ($show_bug_info && $bug_id != 'PREVIEW') {
+if ($show_bug_info && $bug_id != 'PREVIEW' && $bug['status']
!== 'Spam') {
require_once "{$ROOT_DIR}/include/classes/bug_patchtracker.php";
$patches = new Bug_Patchtracker;
$p = $patches->listPatches($bug_id);