mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Update lib/private/Preview/Bundled.php
Co-authored-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
parent
b3d8363327
commit
456679c6fb
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ use OCP\IImage;
|
|||
abstract class Bundled extends ProviderV2 {
|
||||
protected function extractThumbnail(File $file, string $path): ?IImage {
|
||||
|
||||
if ($file->getSize() == 0) {
|
||||
if ($file->getSize() === 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue