From cd075c720f9eb7bf2dd9572bb2626ad00066c4c7 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 26 Oct 2017 07:54:16 +0200 Subject: [PATCH] fix params for hook documentListItem --- 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 8956136d7..965f76994 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -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