svn: /web/php-bugs/trunk/www/ bug.php
| From: | Felipe Pena | Date: | Thu, 18 Nov 2010 22:40:17 +0000 |
| Subject: | svn: /web/php-bugs/trunk/www/ bug.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-9486@lists.php.net to get a copy of this message | ||
felipe Thu, 18 Nov 2010 22:40:17 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=305534
Log:
- Show the bug information when $edit is not set
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-18 22:29:04 UTC (rev 305533)
+++ web/php-bugs/trunk/www/bug.php 2010-11-18 22:40:17 UTC (rev 305534)
@@ -141,7 +141,8 @@
$show_bug_info = ($bug['private'] == 'Y' ? false : true);
// Just the reporter and trusted developer should see the private report info
-if ($bug['private'] == 'Y' && $is_trusted_developer) {
+if (($bug['private'] == 'Y' && isset($logged_in) && $logged_in
== 'developer' && $is_trusted_developer)
+ || ($logged_in != 'developer' && $edit == 0 &&
verify_bug_passwd($bug_id, $pw))) {
$show_bug_info = true;
}