[Fusionforge-commits] r15298 - branches/Branch_5_2/src/www/admin

Franck VILLAUME nerville at fusionforge.org
Sat Apr 7 19:47:27 CEST 2012


Author: nerville
Date: 2012-04-07 19:47:26 +0200 (Sat, 07 Apr 2012)
New Revision: 15298

Modified:
   branches/Branch_5_2/src/www/admin/useredit.php
Log:
remove template project from available projects to be member of

Modified: branches/Branch_5_2/src/www/admin/useredit.php
===================================================================
--- branches/Branch_5_2/src/www/admin/useredit.php	2012-04-07 17:18:49 UTC (rev 15297)
+++ branches/Branch_5_2/src/www/admin/useredit.php	2012-04-07 17:47:26 UTC (rev 15298)
@@ -292,7 +292,7 @@
 $addToNewProjectsTableTitle[] = _('Unix name');
 $addToNewProjectsTableTitle[] = _('Operations');
 $addToNewProjectsTableTitle[] = _('Select role');
-$fullListProjectsQueryResult = db_query_params('SELECT group_id from groups where status = $1', array('A'));
+$fullListProjectsQueryResult = db_query_params('SELECT group_id from groups where status = $1 and is_template = 0', array('A'));
 if ($fullListProjectsQueryResult) {
 	echo $GLOBALS['HTML']->listTableTop($addToNewProjectsTableTitle);
 	while ($projectQueryResult = db_fetch_array($fullListProjectsQueryResult)) {




More information about the Fusionforge-commits mailing list