[Fusionforge-commits] r7462 - branches/Branch_4_8/gforge/common/include/system

Alexandre Neymann neymanna at libremir.placard.fr.eu.org
Tue Apr 21 11:57:30 CEST 2009


Author: neymanna
Date: 2009-04-21 11:57:30 +0200 (Tue, 21 Apr 2009)
New Revision: 7462

Modified:
   branches/Branch_4_8/gforge/common/include/system/pgsql.class.php
Log:
fix some bugs on migrating to db_query_params

Modified: branches/Branch_4_8/gforge/common/include/system/pgsql.class.php
===================================================================
--- branches/Branch_4_8/gforge/common/include/system/pgsql.class.php	2009-04-21 07:26:03 UTC (rev 7461)
+++ branches/Branch_4_8/gforge/common/include/system/pgsql.class.php	2009-04-21 09:57:30 UTC (rev 7462)
@@ -272,7 +272,7 @@
 			return false;
 		} else {
 			$res = db_query_params ('SELECT group_id FROM nss_groups WHERE group_id=$1',
-						aarray ($group_id));
+						array ($group_id));
 			if (db_numrows($res) == 0){
 				return false;
 			} else {
@@ -423,7 +423,7 @@
  	*
  	*/
 	function sysGroupAddUser($group_id,$user_id,$cvs_only=0) {
-		if (! sysGroupRemoveUser($group_id,$user_id,$cvs_only))
+		if (! $this->sysGroupRemoveUser($group_id,$user_id,$cvs_only))
 			return false;
 		$res1 = db_query_params ('INSERT INTO nss_usergroups (
 			SELECT
@@ -443,7 +443,7 @@
 			AND
 				groups.group_id=$4
 			AND
-				groups.status$5
+				groups.status =$5
 			AND
 				users.unix_status=$6
 			AND




More information about the Fusionforge-commits mailing list