Fixed problem with previous merge.

pull/2487/head
Aquilino Blanco 9 years ago
parent 612dc2531e
commit 5d64c03329
  1. 2
      main/inc/lib/document.lib.php

@ -5395,7 +5395,7 @@ class DocumentManager
$ext = strtolower($ext[sizeof($ext) - 1]);
// HTML-files an some other types are shown in a frameset by default.
$is_browser_viewable_file = self::is_browser_viewable($ext);
$is_browser_viewable_file = self::isBrowserViewable($ext);
if ($is_browser_viewable_file) {
if ($ext == 'pdf' || in_array($ext, $webODFList)) {

Loading…
Cancel
Save