[Fusionforge-commits] FusionForge branch master updated. v6.0.3-391-gbeaf071
Franck Villaume
nerville at libremir.placard.fr.eu.org
Tue Mar 8 20:01:09 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 beaf07109aa25af9a1a4bbeba46d20fa6de2b855 (commit)
from c94df701d296276df516a4698375c7c89dd56b00 (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=beaf07109aa25af9a1a4bbeba46d20fa6de2b855
commit beaf07109aa25af9a1a4bbeba46d20fa6de2b855
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date: Tue Mar 8 20:00:45 2016 +0100
docman: Doc_group, fix parent status on delete
diff --git a/src/common/docman/DocumentGroup.class.php b/src/common/docman/DocumentGroup.class.php
index cd73459..de70719 100644
--- a/src/common/docman/DocumentGroup.class.php
+++ b/src/common/docman/DocumentGroup.class.php
@@ -233,7 +233,7 @@ class DocumentGroup extends Error {
/* update the parent if any */
if ($this->getParentID()) {
$parentDg = documentgroup_get_object($this->getParentID(), $this->Group->getID());
- $parentDg->update($parentDg->getName(), $parentDg->getParentID(), 1);
+ $parentDg->update($parentDg->getName(), $parentDg->getParentID(), 1, $parentDg->getState());
}
/* is there any subdir ? */
$subdir = db_query_params('select doc_group from doc_groups where parent_doc_group = $1 and group_id = $2',
-----------------------------------------------------------------------
Summary of changes:
src/common/docman/DocumentGroup.class.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
More information about the Fusionforge-commits
mailing list