diff options
Diffstat (limited to 'lib/private/Preview/Bitmap.php')
-rw-r--r-- | lib/private/Preview/Bitmap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Preview/Bitmap.php b/lib/private/Preview/Bitmap.php index 969fb948d94..57451da5725 100644 --- a/lib/private/Preview/Bitmap.php +++ b/lib/private/Preview/Bitmap.php @@ -60,7 +60,7 @@ abstract class Bitmap 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; } |