Merge pull request #25586 from nextcloud/backport/25576/stable21
[stable21] Fix WebP availability check
This commit is contained in:
commit
1ddf59efc0
|
@ -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