1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 12:03:21 +01:00

Addition to r9899 for bug #48695 - trying to create thumbnail for broken jpeg image

Authorised by: AcydBurn

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9904 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Ruslan Uzdenov 2009-08-01 12:13:16 +00:00
parent 530f4963cb
commit 6bc7e15162

View File

@ -684,6 +684,7 @@ function create_thumbnail($source, $destination, $mimetype)
break;
case IMG_JPG:
@ini_set('gd.jpeg_ignore_warning', 1);
$image = @imagecreatefromjpeg($source);
break;