aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorRuslan Uzdenov <rxu@mail.ru>2009-08-01 12:13:16 +0000
committerRuslan Uzdenov <rxu@mail.ru>2009-08-01 12:13:16 +0000
commit6bc7e1516206862472091e53d8f3f357a755eac8 (patch)
tree88438bce7d074c01226444e6adfa2411650a2327 /phpBB/includes/functions_posting.php
parent530f4963cbc12e0f47f20c13c70587a60d3ad37c (diff)
downloadforums-6bc7e1516206862472091e53d8f3f357a755eac8.tar
forums-6bc7e1516206862472091e53d8f3f357a755eac8.tar.gz
forums-6bc7e1516206862472091e53d8f3f357a755eac8.tar.bz2
forums-6bc7e1516206862472091e53d8f3f357a755eac8.tar.xz
forums-6bc7e1516206862472091e53d8f3f357a755eac8.zip
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
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index bf3eef02c4..ee0d3b7f5d 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -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;