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

Julien HEYMAN jheyman at libremir.placard.fr.eu.org
Tue Apr 14 14:48:28 CEST 2009


Author: jheyman
Date: 2009-04-14 14:48:28 +0200 (Tue, 14 Apr 2009)
New Revision: 7401

Modified:
   branches/Branch_4_8/gforge/common/include/database-pgsql.php
Log:
Fixed bug. Replace is_int by is_numeric

Modified: branches/Branch_4_8/gforge/common/include/database-pgsql.php
===================================================================
--- branches/Branch_4_8/gforge/common/include/database-pgsql.php	2009-04-14 12:47:17 UTC (rev 7400)
+++ branches/Branch_4_8/gforge/common/include/database-pgsql.php	2009-04-14 12:48:28 UTC (rev 7401)
@@ -435,7 +435,7 @@
 function db_int_array_to_any_clause ($arr) {
 	$arr2 = array () ;
 	foreach ($arr as $cur) {
-		if (is_int ($cur)) {
+		if (is_numeric($cur)) {
 			$arr2[] = $cur ;
 		}
 	}




More information about the Fusionforge-commits mailing list