From ea85b658182eb1ab55e03a7a7d6e5af432f1cc46 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 31 Jan 2017 17:25:22 +0100 Subject: [PATCH] do not output anything if attachment file is missing previously outputs an icon which didn't make sense at all --- 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 a5c79161c..6eac3f76c 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -1139,7 +1139,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { print "
  • getID()."\">".getMLText('download').""; if ($viewonlinefiletypes && in_array(strtolower($file->getFileType()), $viewonlinefiletypes)) print "
  • getID()."\">" . getMLText("view_online") . "
  • "; - } else print "
  • getMimeIcon($file->getFileType())."\" title=\"".htmlspecialchars($file->getMimeType())."\">"; + } echo "