Skip to content

Commit 87aa0ed

Browse files
committed
silence inline images error #249
1 parent 9234862 commit 87aa0ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/ImageResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public static function createFromBase64(Url $url)
2424
return false;
2525
}
2626

27-
if (($info = getimagesizefromstring(base64_decode(substr($pieces[1], 7)))) !== false) {
27+
if (($info = @getimagesizefromstring(base64_decode(substr($pieces[1], 7)))) !== false) {
2828
return new self(
2929
$url,
3030
$url,

0 commit comments

Comments
 (0)