Merge pull request #25576 from nextcloud/fix/webp_check
Fix WebP availability check
This commit is contained in:
commit
5babad4f6f
|
@ -37,6 +37,6 @@ class WebP extends Image {
|
|||
}
|
||||
|
||||
public function isAvailable(FileInfo $file): bool {
|
||||
return (bool)(imagetypes() && IMG_WEBP);
|
||||
return (bool)(imagetypes() & IMG_WEBP);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue