[Fusionforge-commits] r11572 - trunk/src/common/docman/include

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Thu Nov 18 21:46:29 CET 2010


Author: aljeux
Date: 2010-11-18 21:46:29 +0100 (Thu, 18 Nov 2010)
New Revision: 11572

Modified:
   trunk/src/common/docman/include/DocumentGroupHTML.class.php
Log:
Fix PHP warning in docman

Modified: trunk/src/common/docman/include/DocumentGroupHTML.class.php
===================================================================
--- trunk/src/common/docman/include/DocumentGroupHTML.class.php	2010-11-18 20:31:12 UTC (rev 11571)
+++ trunk/src/common/docman/include/DocumentGroupHTML.class.php	2010-11-18 20:46:29 UTC (rev 11572)
@@ -58,7 +58,7 @@
 	 * @param	array	Array of IDs of groups that should not be displayed
 	 * @return	string	html select box code
 	 */
-	function showSelectNestedGroups (&$group_arr, $select_name, $allow_none = true, $selected_id = 0, $dont_display = array()) {
+	function showSelectNestedGroups ($group_arr, $select_name, $allow_none = true, $selected_id = 0, $dont_display = array()) {
 		// Build arrays for calling html_build_select_box_from_arrays()
 		$id_array = array();
 		$text_array = array();
@@ -85,7 +85,7 @@
 	 * @param	int	The ID of the parent whose childs are being showed (0 for root groups)
 	 * @param	int	The current level
 	 */
-	function buildArrays(&$group_arr, &$id_array, &$text_array, &$dont_display, $parent = 0, $level = 0) {
+	function buildArrays($group_arr, &$id_array, &$text_array, &$dont_display, $parent = 0, $level = 0) {
 		if (!is_array($group_arr) || !array_key_exists("$parent", $group_arr)) return;
 
 		$child_count = count($group_arr["$parent"]);




More information about the Fusionforge-commits mailing list