From 770d9223afc1a43e3b39ed9b7b6a399081616787 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 15 Jan 2019 11:54:06 +0100 Subject: [PATCH] fix syntax error after merge --- views/bootstrap/class.ViewDocument.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/bootstrap/class.ViewDocument.php b/views/bootstrap/class.ViewDocument.php index 4859a4c2d..56766d22f 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -1604,7 +1604,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { print ""; $previewer->createPreview($file, $previewwidthdetail); if($file_exists) { - if ($viewonlinefiletypes && (in_array(strtolower($file->getFileType()), $viewonlinefiletypes) || in_array(strtolower($file->getMimeType()), $viewonlinefiletypes))) + if ($viewonlinefiletypes && (in_array(strtolower($file->getFileType()), $viewonlinefiletypes) || in_array(strtolower($file->getMimeType()), $viewonlinefiletypes))) { if($accessop->check_controller_access('ViewOnline', array('action'=>'run'))) { print "getID()."\">"; } @@ -1647,7 +1647,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { if($accessop->check_controller_access('Download', array('action'=>'file'))) { print "
  • getID()."\">".getMLText('download')."
  • "; } - if ($viewonlinefiletypes && (in_array(strtolower($file->getFileType()), $viewonlinefiletypes) || in_array(strtolower($file->getMimeType()), $viewonlinefiletypes))) + if ($viewonlinefiletypes && (in_array(strtolower($file->getFileType()), $viewonlinefiletypes) || in_array(strtolower($file->getMimeType()), $viewonlinefiletypes))) { if($accessop->check_controller_access('ViewOnline', array('action'=>'run'))) { print "
  • getID()."\">" . getMLText("view_online") . "
  • "; }