diff options
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/Preview/WebP.php | 2 |
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); } } |