|
From: Benjamin C. <bc...@us...> - 2002-03-11 18:22:20
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv11625
Modified Files:
include.php
Log Message:
Bug fix for the restricted projects
Index: include.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/include.php,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -r1.95 -r1.96
--- include.php 11 Mar 2002 16:41:14 -0000 1.95
+++ include.php 11 Mar 2002 18:22:17 -0000 1.96
@@ -251,7 +251,8 @@
if (!$perm->have_perm('Admin')) {
$matching_projects = delimit_list(',',
$q->grab_field_set("select project_id from ".TBL_PROJECT_GROUP.
- " where group_id not in (".delimit_list(',', $auth->auth['group_ids']).")"));
+ " where group_id not in (".delimit_list(',', $auth->auth['group_ids']).
+ ") group by project_id"));
if ($matching_projects) {
$restricted_projects .= ",$matching_projects";
}
|