[Fusionforge-commits] r8393 - branches/Branch_4_8/gforge/common/include

Roland Mas lolando at libremir.placard.fr.eu.org
Wed Nov 18 18:12:17 CET 2009


Author: lolando
Date: 2009-11-18 18:12:17 +0100 (Wed, 18 Nov 2009)
New Revision: 8393

Modified:
   branches/Branch_4_8/gforge/common/include/database-pgsql.php
Log:
Fix error when accessing groups or users by name from SOAP : queries wouldn't return anything


Modified: branches/Branch_4_8/gforge/common/include/database-pgsql.php
===================================================================
--- branches/Branch_4_8/gforge/common/include/database-pgsql.php	2009-11-18 17:12:08 UTC (rev 8392)
+++ branches/Branch_4_8/gforge/common/include/database-pgsql.php	2009-11-18 17:12:17 UTC (rev 8393)
@@ -451,7 +451,8 @@
 	foreach ($arr as $cur) {
 		$arr2[] = pg_escape_string ($cur) ;
 	}
-	$res = "{'" . implode ("','", $arr2) . "'}" ;
+//	$res = "{'" . implode ("','", $arr2) . "'}" ;
+	$res = '{"' . implode ('","', $arr2) . '"}' ;
 	return $res ;
 }
 




More information about the Fusionforge-commits mailing list