We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1afa136 + cb3199f commit 1ddf59eCopy full SHA for 1ddf59e
lib/private/Preview/WebP.php
@@ -37,6 +37,6 @@ public function getMimeType(): string {
37
}
38
39
public function isAvailable(FileInfo $file): bool {
40
- return (bool)(imagetypes() && IMG_WEBP);
+ return (bool)(imagetypes() & IMG_WEBP);
41
42
0 commit comments