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 7f447f924abe4db38e2a1027aae5c473323c2114 (commit) from 015b78b6a061cd928cb226e18a41b1096b0511ff (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=7f447f924abe4db38e2a1027aae5c473323c2114 commit 7f447f924abe4db38e2a1027aae5c473323c2114 Author: Franck Villaume <franck.villa...@trivialdev.com> Date: Wed Oct 12 09:14:27 2016 +0200 docman: fix edit status file without editing a specific version diff --git a/src/common/docman/actions/editfile.php b/src/common/docman/actions/editfile.php index 2d65944..6f13367 100644 --- a/src/common/docman/actions/editfile.php +++ b/src/common/docman/actions/editfile.php @@ -151,6 +151,9 @@ if ($version) { } } elseif (($d->getDocGroupID() != $doc_group) || ($d->getStateID() != $stateid)) { // we do the update based on the current version. + if (!$current_version_radio) { + $current_version_radio = $d->getVersion(); + } $dv = documentversion_get_object($current_version_radio, $docid, $group_id); $filename = $dv->getFileName(); $filetype = $dv->getFileType(); ----------------------------------------------------------------------- Summary of changes: src/common/docman/actions/editfile.php | 3 +++ 1 file changed, 3 insertions(+) hooks/post-receive -- FusionForge _______________________________________________ Fusionforge-commits mailing list Fusionforge-commits@lists.fusionforge.org http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits