mirror of
https://github.com/nextcloud/server.git
synced 2024-08-30 17:57:26 +02:00
Silent imagecreatefromstring() errors
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
This commit is contained in:
parent
d76f39889a
commit
9d70fd3e64
@ -758,7 +758,7 @@ class OC_Image implements \OCP\IImage {
|
||||
if (!$this->checkImageDataSize($data)) {
|
||||
return false;
|
||||
}
|
||||
$this->resource = imagecreatefromstring($data);
|
||||
$this->resource = @imagecreatefromstring($data);
|
||||
$iType = IMAGETYPE_PNG;
|
||||
$this->logger->debug('OC_Image->loadFromFile, Default', ['app' => 'core']);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user