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 6a30c7cafc4b4dfb7e705a89ecf71963b0013e0b (commit)
from b2890b30cf055e7eebf25f4a64ec1aef8ae2cc44 (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=6a30c7cafc4b4dfb7e705a89ecf71963b0013e0b
commit 6a30c7cafc4b4dfb7e705a89ecf71963b0013e0b
Author: Franck Villaume <[email protected]>
Date: Fri Jul 8 17:59:43 2016 +0200
docman: fix delete version
diff --git a/src/common/docman/DocumentVersion.class.php
b/src/common/docman/DocumentVersion.class.php
index 2c77b8a..7346cd4 100644
--- a/src/common/docman/DocumentVersion.class.php
+++ b/src/common/docman/DocumentVersion.class.php
@@ -202,7 +202,7 @@ class DocumentVersion extends FFError {
}
if ($this->getNumberOfVersions() == 1) {
$this->getMaxVersionData();
- $this->update($this->data_array['version'],
$this->data_array['title'], $this->data_array['description'],
$this->data_array['filetype'], $this->data_array['filename'],
$this->data_array['filesize'], 1);
+ $this->update($this->data_array['version'],
$this->data_array['title'], $this->data_array['description'],
$this->data_array['filetype'], $this->data_array['filename'],
$this->data_array['filesize'], 1, $this->data_array['updatedate']);
}
db_commit();
db_free_result($res);
-----------------------------------------------------------------------
Summary of changes:
src/common/docman/DocumentVersion.class.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits