add comment to make @jancborchardt happy
This commit is contained in:
parent
825d8610d0
commit
7a11911aea
|
@ -17,6 +17,7 @@ class TXT extends Provider {
|
||||||
$content = $fileview->fopen($path, 'r');
|
$content = $fileview->fopen($path, 'r');
|
||||||
$content = stream_get_contents($content);
|
$content = stream_get_contents($content);
|
||||||
|
|
||||||
|
//don't create previews of empty text files
|
||||||
if(trim($content) === '') {
|
if(trim($content) === '') {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue