add comment to make @jancborchardt happy

This commit is contained in:
Georg Ehrke 2013-08-15 13:25:45 +02:00
parent 825d8610d0
commit 7a11911aea
1 changed files with 1 additions and 0 deletions

View File

@ -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;
} }