mirror of
https://github.com/nextcloud/server.git
synced 2026-04-29 01:50:33 -04:00
Fix WebP availability check
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
d5dea10517
commit
cc554890c1
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue