diff options
Diffstat (limited to 'lib/private/preview.php')
-rw-r--r-- | lib/private/preview.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/preview.php b/lib/private/preview.php index 996bf81703b..e445f5356a4 100644 --- a/lib/private/preview.php +++ b/lib/private/preview.php @@ -375,7 +375,7 @@ class Preview { return false; } - if (!$this->fileView->file_exists($file)) { + if (!$this->getFileInfo() instanceof FileInfo) { \OCP\Util::writeLog('core', 'File:"' . $file . '" not found', \OCP\Util::DEBUG); return false; |