[Fusionforge-commits] r14333 - trunk/src/common/docman

Franck VILLAUME nerville at fusionforge.org
Sat Sep 10 12:07:43 CEST 2011


Author: nerville
Date: 2011-09-10 12:07:43 +0200 (Sat, 10 Sep 2011)
New Revision: 14333

Modified:
   trunk/src/common/docman/Document.class.php
Log:
do not use global var

Modified: trunk/src/common/docman/Document.class.php
===================================================================
--- trunk/src/common/docman/Document.class.php	2011-09-10 08:54:41 UTC (rev 14332)
+++ trunk/src/common/docman/Document.class.php	2011-09-10 10:07:43 UTC (rev 14333)
@@ -1068,7 +1068,7 @@
 					/* name must be != data then nothing is displayed */
 					$params['name'] = 'details'.$this->getID();
 					$params['height'] = "300";
-					$params['group'] = $group_id;
+					$params['group'] = $this->Group->getID();
 					$params['body'] = $this->getFileData();
 					plugin_hook("text_editor",$params);
 					if (!$GLOBALS['editor_was_set_up']) {




More information about the Fusionforge-commits mailing list