mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-30 03:14:31 +00:00
fix error in download link
This commit is contained in:
parent
b20b8c6f5f
commit
d0b9df62d6
|
|
@ -1535,7 +1535,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()."\">";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user