[Fusionforge-commits] FusionForge branch master updated. v6.0.3-442-g64e5542

Franck Villaume nerville at libremir.placard.fr.eu.org
Fri Mar 25 09:44:42 CET 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  64e55423a5dc384e05fb083097ec35db2bcf2371 (commit)
      from  beb22e3a9f9c32a18b78e76d91e1ff6e7babdd7e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=64e55423a5dc384e05fb083097ec35db2bcf2371

commit 64e55423a5dc384e05fb083097ec35db2bcf2371
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Fri Mar 25 09:33:08 2016 +0100

    docman webdav: fix update doc group, keep the status

diff --git a/src/common/docman/include/webdav.php b/src/common/docman/include/webdav.php
index 2d26f2c..7c3f9d8 100644
--- a/src/common/docman/include/webdav.php
+++ b/src/common/docman/include/webdav.php
@@ -540,7 +540,7 @@ class HTTP_WebDAV_Server_Docman extends HTTP_WebDAV_Server {
 					// we are moving the directory to a new directory
 					$dirname = $src_dg->getName();
 				}
-				if ($src_dg->update($dirname, $analysed_dest_element['doc_group'], 1)) {
+				if ($src_dg->update($dirname, $analysed_dest_element['doc_group'], 1, $src_dg->getState())) {
 					return '201';
 				}
 				return '403';

-----------------------------------------------------------------------

Summary of changes:
 src/common/docman/include/webdav.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list