Update lib/private/Preview/Bundled.php

Co-authored-by: Carl Schwan <carl@carlschwan.eu>
pull/37772/head
Claus-Justus Heine 2022-02-14 23:48:14 +07:00 committed by Simon L
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;
}