davidc Tue Jul 24 15:47:19 2007 UTC
Modified files:
/pearweb/public_html/bugs report.php
Log:
- Make sure bugs shown are only registered ones.
- Fix bug #11423
http://cvs.php.net/viewvc.cgi/pearweb/public_html/bugs/report.php?r1=1.109&r2=1.110&diff_format=u
Index: pearweb/public_html/bugs/report.php
diff -u pearweb/public_html/bugs/report.php:1.109
pearweb/public_html/bugs/report.php:1.110
--- pearweb/public_html/bugs/report.php:1.109 Fri May 25 20:09:47 2007
+++ pearweb/public_html/bugs/report.php Tue Jul 24 15:47:19 2007
@@ -17,7 +17,7 @@
* @package Bugs
* @copyright Copyright (c) 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt PHP License
- * @version $Id: report.php,v 1.109 2007/05/25 20:09:47 cellog Exp $
+ * @version $Id: report.php,v 1.110 2007/07/24 15:47:19 davidc Exp $
*/
/**
@@ -113,7 +113,8 @@
$where_clause .= $sql_search;
- $where_clause .= ' AND p.package_type="pear"';
+ /** Bug #11423 Make sure that a bug report is
registered */
+ $where_clause .= ' AND p.package_type="pear" and bugdb.registered
= 1 ';
$query = "SELECT bugdb.* from bugdb, packages p $where_clause
LIMIT 5";
|