fix params for hook documentListItem

This commit is contained in:
Uwe Steinmann 2017-10-26 07:54:16 +02:00
parent d4d79f1a84
commit cd075c720f

View File

@ -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