summaryrefslogtreecommitdiffstats
path: root/lib/private/Preview/Bundled.php
diff options
context:
space:
mode:
authorClaus-Justus Heine <himself@claus-justus-heine.de>2022-02-14 23:48:14 +0100
committerSimon L <szaimen@e.mail.de>2023-04-17 16:19:02 +0200
commit456679c6fbdfd962a7b8ce2f69be10fd2b2082ba (patch)
treef47d42791a86c2aab86829e84786ed0a975d4f6e /lib/private/Preview/Bundled.php
parentb3d836332720f8e1be7d9392fa76a20733ff5a10 (diff)
downloadnextcloud-server-456679c6fbdfd962a7b8ce2f69be10fd2b2082ba.tar.gz
nextcloud-server-456679c6fbdfd962a7b8ce2f69be10fd2b2082ba.zip
Update lib/private/Preview/Bundled.php
Co-authored-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'lib/private/Preview/Bundled.php')
-rw-r--r--lib/private/Preview/Bundled.php2
1 files changed, 1 insertions, 1 deletions
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;
}