[Fusionforge-commits] r10533 - trunk/src/common/forum

Roland Mas lolando at libremir.placard.fr.eu.org
Fri Sep 17 17:38:42 CEST 2010


Author: lolando
Date: 2010-09-17 17:38:42 +0200 (Fri, 17 Sep 2010)
New Revision: 10533

Modified:
   trunk/src/common/forum/ForumFactory.class.php
Log:
Make sure getAllForumIds() returns an array (even if empty)

Modified: trunk/src/common/forum/ForumFactory.class.php
===================================================================
--- trunk/src/common/forum/ForumFactory.class.php	2010-09-17 12:57:42 UTC (rev 10532)
+++ trunk/src/common/forum/ForumFactory.class.php	2010-09-17 15:38:42 UTC (rev 10533)
@@ -73,6 +73,7 @@
 	}
 
 	function &getAllForumIds() {
+		$result = array () ;
 		$res = db_query_params ('SELECT * FROM forum_group_list_vw
 WHERE group_id=$1
 ORDER BY group_forum_id',




More information about the Fusionforge-commits mailing list