cvs: pearweb /public_html/bugs bug.php
| From: | David Coallier | Date: | Sat, 21 Apr 2007 21:17:20 +0000 |
| Subject: | cvs: pearweb /public_html/bugs bug.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-46079@lists.php.net to get a copy of this message | ||
davidc Sat Apr 21 21:17:20 2007 UTC
Modified files:
/pearweb/public_html/bugs bug.php
Log:
- Bugfix #10745, now if a bug has been submitted you can see it if you are a developer
http://cvs.php.net/viewvc.cgi/pearweb/public_html/bugs/bug.php?r1=1.153&r2=1.154&diff_format=u
Index: pearweb/public_html/bugs/bug.php
diff -u pearweb/public_html/bugs/bug.php:1.153 pearweb/public_html/bugs/bug.php:1.154
--- pearweb/public_html/bugs/bug.php:1.153 Thu Apr 19 03:39:46 2007
+++ pearweb/public_html/bugs/bug.php Sat Apr 21 21:17:20 2007
@@ -15,7 +15,7 @@
* @package Bugs
* @copyright Copyright (c) 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: bug.php,v 1.153 2007/04/19 03:39:46 cellog Exp $
+ * @version $Id: bug.php,v 1.154 2007/04/21 21:17:20 davidc Exp $
*/
/*
@@ -50,9 +50,6 @@
Bug_DataObject::init();
-error_reporting(E_ALL ^ E_NOTICE);
-
-
if (empty($_REQUEST['id']) || !(int)$_REQUEST['id']) {
localRedirect('search.php');
exit;
@@ -224,7 +221,7 @@
}
// if the user is not registered, this might be spam, don't display
-if (!$bug['registered']) {
+if (!$bug['registered'] && !auth_check('pear.dev')) {
response_header('User has not confirmed identity');
display_bug_error('The user who submitted this bug has not yet confirmed ' .
'their email address. ');