aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorSamuel <faust64@gmail.com>2021-02-11 19:28:34 +0100
committerSamuel <faust64@gmail.com>2021-02-11 19:28:34 +0100
commit059bcf65a550866b7d0525f7cccdf6f4b0e15f88 (patch)
treeb3db8388f5825c543966010376c2fd4f7fb69ffc /lib/private
parent54cb0372c61c7bbcc1e5f999ca1eca8e1eea579c (diff)
parent5babad4f6fb983709e7851bb5cea4bc0d2c7fe4c (diff)
downloadnextcloud-server-059bcf65a550866b7d0525f7cccdf6f4b0e15f88.tar.gz
nextcloud-server-059bcf65a550866b7d0525f7cccdf6f4b0e15f88.zip
Merge remote-tracking branch 'upstream/master' into feat-federatedfilesharing-logging
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Preview/WebP.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Preview/WebP.php b/lib/private/Preview/WebP.php
index 8f10a08206b..d2172b1242c 100644
--- a/lib/private/Preview/WebP.php
+++ b/lib/private/Preview/WebP.php
@@ -37,6 +37,6 @@ class WebP extends Image {
}
public function isAvailable(FileInfo $file): bool {
- return (bool)(imagetypes() && IMG_WEBP);
+ return (bool)(imagetypes() & IMG_WEBP);
}
}