diff --git a/views/bootstrap/class.ViewDocument.php b/views/bootstrap/class.ViewDocument.php index c9657f72e..413f2c775 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -412,6 +412,9 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { function show() { /* {{{ */ parent::show(); + + $this->callHook('preViewDocument'); + $dms = $this->params['dms']; $user = $this->params['user']; $folder = $this->params['folder'];