From cf597a4bedc05a840ea760d0f3660891d9db954e Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 22 Dec 2016 07:54:07 +0100 Subject: [PATCH] get $dms from view in preview() --- views/bootstrap/class.ViewDocument.php | 1 + 1 file changed, 1 insertion(+) diff --git a/views/bootstrap/class.ViewDocument.php b/views/bootstrap/class.ViewDocument.php index 4deaa1297..a7a97238d 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -128,6 +128,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { } /* }}} */ function preview() { /* {{{ */ + $dms = $this->params['dms']; $document = $this->params['document']; $timeout = $this->params['timeout']; $showfullpreview = $this->params['showFullPreview'];