From 8b1b9fdb2a3462e6e27334ae52d0e1ee70ad1a15 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 4 Jan 2017 17:14:45 +0100 Subject: [PATCH] set $dms 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 5e05e2e8a..d4fda9bfd 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -313,6 +313,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'];