svn: /web/php-bugs/trunk/include/ query.php
| From: | Felipe Pena | Date: | Sun, 12 Dec 2010 17:07:36 +0000 |
| Subject: | svn: /web/php-bugs/trunk/include/ query.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-9694@lists.php.net to get a copy of this message | ||
felipe Sun, 12 Dec 2010 17:07:36 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=306269
Log:
- Woops, fix condition :)
Changed paths:
U web/php-bugs/trunk/include/query.php
Modified: web/php-bugs/trunk/include/query.php
===================================================================
--- web/php-bugs/trunk/include/query.php 2010-12-12 17:06:00 UTC (rev 306268)
+++ web/php-bugs/trunk/include/query.php 2010-12-12 17:07:36 UTC (rev 306269)
@@ -64,7 +64,7 @@
$where_clause = ' WHERE 1 = 1 ';
- if ($user_flags & (BUGS_SECURITY_DEV | BUGS_TRUSTED_DEV)) {
+ if (!($user_flags & (BUGS_SECURITY_DEV | BUGS_TRUSTED_DEV))) {
/* Non trusted developer should see the Security related bug report just when it is public */
$where_clause .= ' AND (bugdb.bug_type <> "Security" OR private =
"N") ';
}