mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
Silent imagecreatefromstring() errors
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
This commit is contained in:
parent
eb537ad664
commit
ecbeacbdf5
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