svn: /web/php-bugs/trunk/www/ bug.php

From: Date: Mon, 15 Nov 2010 23:17:54 +0000
Subject: svn: /web/php-bugs/trunk/www/ bug.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-9434@lists.php.net to get a copy of this message
felipe Mon, 15 Nov 2010 23:17:54 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=305387 Log: - Hidden original report when suitable 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 23:06:58 UTC (rev 305386) +++ web/php-bugs/trunk/www/bug.php 2010-11-15 23:17:54 UTC (rev 305387) @@ -998,7 +998,9 @@ // Display original report if ($bug['ldesc']) { - if ($bug['status'] !== 'Spam') { + if (!$show_bug_info) { + echo 'This bug report is marked as private.'; + } else if ($bug['status'] !== 'Spam') { output_note(0, $bug['submitted'], $bug['email'], $bug['ldesc'], 'comment', $bug['reporter_name'], false); } else { echo 'The original report has been hidden, due to the SPAM status.';

« previous php.webmaster (#9434) next »