Merge branch 'seeddms-5.1.x' into seeddms-6.0.x

This commit is contained in:
Uwe Steinmann 2020-05-05 16:36:55 +02:00
commit 48353cfa81
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
--------------------------------------------------------------------------------
Changes in version 6.0.10
--------------------------------------------------------------------------------
- fix list of previous document versions (Closes: #471)
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
Changes in version 6.0.9 Changes in version 6.0.9
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View File

@ -20,7 +20,7 @@
class SeedDMS_Version { /* {{{ */ class SeedDMS_Version { /* {{{ */
const _number = "6.0.9"; const _number = "6.0.10";
const _string = "SeedDMS"; const _string = "SeedDMS";
function __construct() { function __construct() {

View File

@ -1484,7 +1484,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
} }
} else { } else {
if($accessobject->check_controller_access('Download', array('action'=>'version'))) { if($accessobject->check_controller_access('Download', array('action'=>'version'))) {
print "<a href=\"../op/op.Download.php?documentid=".$version->getDocument()."&version=".$version->getVersion()."\">"; print "<a href=\"../op/op.Download.php?documentid=".$version->getDocument()->getId()."&version=".$version->getVersion()."\">";
} }
} }
} }