From d0b9df62d69ab1123f4134b2d5b02fcbd875e9e3 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 24 Apr 2020 09:43:30 +0200 Subject: [PATCH] fix error in download link --- views/bootstrap/class.ViewDocument.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/bootstrap/class.ViewDocument.php b/views/bootstrap/class.ViewDocument.php index 061b401b2..124499bdd 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -1535,7 +1535,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { } } else { if($accessobject->check_controller_access('Download', array('action'=>'version'))) { - print "getDocument()."&version=".$version->getVersion()."\">"; + print "getDocument()->getId()."&version=".$version->getVersion()."\">"; } } }