diff options
Diffstat (limited to 'lib/private/Preview/HEIC.php')
-rw-r--r-- | lib/private/Preview/HEIC.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Preview/HEIC.php b/lib/private/Preview/HEIC.php index 68c83fad97d..0b5cd0bb5bd 100644 --- a/lib/private/Preview/HEIC.php +++ b/lib/private/Preview/HEIC.php @@ -76,7 +76,7 @@ class HEIC extends ProviderV2 { //new bitmap image object $image = new \OC_Image(); - $image->loadFromData($bp); + $image->loadFromData((string) $bp); //check if image object is valid return $image->valid() ? $image : null; } |