[Fusionforge-commits] r8754 - branches/Branch_4_8/gforge/common/docman

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Tue Feb 9 11:40:51 CET 2010


Author: nerville
Date: 2010-02-09 11:40:50 +0100 (Tue, 09 Feb 2010)
New Revision: 8754

Modified:
   branches/Branch_4_8/gforge/common/docman/DocumentGroup.class.php
Log:
fix nasty bug in case of recurcive directories in the docman admin page

Modified: branches/Branch_4_8/gforge/common/docman/DocumentGroup.class.php
===================================================================
--- branches/Branch_4_8/gforge/common/docman/DocumentGroup.class.php	2010-02-08 20:10:54 UTC (rev 8753)
+++ branches/Branch_4_8/gforge/common/docman/DocumentGroup.class.php	2010-02-09 10:40:50 UTC (rev 8754)
@@ -247,7 +247,6 @@
 	* @param int	(optional) State of the documents
 	*/
 	function hasDocuments(&$nested_groups, &$document_factory, $stateid=0) {
-		global $doc_group_id;
 		$doc_group_id = $this->getID();
 		static $result = array();	// this function will probably be called several times so we better store results in order to speed things up
 		if (!array_key_exists($stateid, $result) || !is_array($result[$stateid])) $result[$stateid] = array();




More information about the Fusionforge-commits mailing list