mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
fix params for hook documentListItem
This commit is contained in:
parent
d4d79f1a84
commit
cd075c720f
|
@ -130,7 +130,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
if($document) {
|
||||
if ($document->getAccessMode($user) >= M_READ) {
|
||||
$previewer = new SeedDMS_Preview_Previewer($cachedir, $previewwidth);
|
||||
$txt = $this->callHook('documentListItem', $document, $previewer, true, '');
|
||||
$txt = $this->callHook('documentListItem', $document, $previewer, '');
|
||||
if(is_string($txt))
|
||||
$content = $txt;
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user