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  070a5ffeb521050d843c58c3d98baaa0e9e714c6 (commit)
      from  e2149cc53f8aea59259b09422027dd0e21f91ae0 (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=070a5ffeb521050d843c58c3d98baaa0e9e714c6

commit 070a5ffeb521050d843c58c3d98baaa0e9e714c6
Author: Franck Villaume <[email protected]>
Date:   Wed Sep 28 18:01:15 2016 +0200

    docman: add missing view count when download specific document version

diff --git a/src/www/docman/view.php b/src/www/docman/view.php
index 5ef138e..8ec496a 100644
--- a/src/www/docman/view.php
+++ b/src/www/docman/view.php
@@ -120,6 +120,7 @@ if (is_numeric($docid)) {
        ob_end_clean();
        $file_path = $dv->getFilePath();
        $length = filesize($file_path);
+       $d->downloadUp();
        utils_headers_download($dv->getFileName(), $dv->getFileType(), $length);
        readfile_chunked($file_path);
 

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

Summary of changes:
 src/www/docman/view.php | 1 +
 1 file changed, 1 insertion(+)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to