[20905] Feature tweak : return new element id when creating folder

Pascal Vilarem <[email protected]>
Newsgroups gmane.comp.web.phpgroupware.cvs
Message-ID <[email protected]>
Revision: 20905
          http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20905
Author:   maat
Date:     2010-01-05 16:26:59 +0000 (Tue, 05 Jan 2010)
Log Message:
-----------
Feature tweak : return new element id when creating folder

Modified Paths:
--------------
    modules/ged/trunk/inc/class.ged_dm.inc.php

Modified: modules/ged/trunk/inc/class.ged_dm.inc.php
===================================================================
--- modules/ged/trunk/inc/class.ged_dm.inc.php	2010-01-04 15:58:18 UTC (rev 20904)
+++ modules/ged/trunk/inc/class.ged_dm.inc.php	2010-01-05 16:26:59 UTC (rev 20905)
@@ -762,6 +762,7 @@
 		
 		//TODO positionnement des droits.
 		$this->set_default_acl($new_element_id);
+		return $new_element_id;
 
 	}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.