We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2febf7e + 168acfb commit 6715bbaCopy full SHA for 6715bba
lib/private/legacy/OC_Image.php
@@ -755,7 +755,7 @@ public function loadFromFile($imagePath = false) {
755
if (!$this->checkImageDataSize($data)) {
756
return false;
757
}
758
- $this->resource = imagecreatefromstring($data);
+ $this->resource = @imagecreatefromstring($data);
759
$iType = IMAGETYPE_PNG;
760
$this->logger->debug('OC_Image->loadFromFile, Default', ['app' => 'core']);
761
break;
0 commit comments