From 456679c6fbdfd962a7b8ce2f69be10fd2b2082ba Mon Sep 17 00:00:00 2001 From: Claus-Justus Heine Date: Mon, 14 Feb 2022 23:48:14 +0100 Subject: [PATCH] Update lib/private/Preview/Bundled.php Co-authored-by: Carl Schwan --- lib/private/Preview/Bundled.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Preview/Bundled.php b/lib/private/Preview/Bundled.php index 812385c1672..bbe2fcf30ea 100644 --- a/lib/private/Preview/Bundled.php +++ b/lib/private/Preview/Bundled.php @@ -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; }