diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-05-28 20:48:16 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-05-28 20:48:16 +0200 |
commit | 67cef93fddc0d968ec7d3febe7f618450e59bb39 (patch) | |
tree | f58c06009ca72e3048e716336b7c9708de6464c6 | |
parent | b95ebb76e52c58b7789886c9d4b61442e496f138 (diff) | |
parent | bb676f27990c45e377ce00dcdbe59919c0b73f60 (diff) | |
download | nextcloud-server-67cef93fddc0d968ec7d3febe7f618450e59bb39.tar.gz nextcloud-server-67cef93fddc0d968ec7d3febe7f618450e59bb39.zip |
Merge pull request #16578 from owncloud/fix_16556
show txt preview when file contains text
-rw-r--r-- | lib/private/preview/txt.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/preview/txt.php b/lib/private/preview/txt.php index ea817388f86..684438684fb 100644 --- a/lib/private/preview/txt.php +++ b/lib/private/preview/txt.php @@ -38,7 +38,7 @@ class TXT extends Provider { * {@inheritDoc} */ public function isAvailable(\OCP\Files\FileInfo $file) { - return $file->getSize() > 5; + return $file->getSize() > 0; } /** |