mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Silent imagecreatefromstring() errors
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
This commit is contained in:
parent
d76f39889a
commit
9d70fd3e64
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue