diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-04 23:02:15 -0400 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-04 23:02:15 -0400 |
| commit | 373fb99a7fa6271178da3d014d5f35cc5ca4c0a8 (patch) | |
| tree | 6076bff57f9d99125d7da47c990b1c25e67e0e69 /post.php | |
| parent | 0c829aa8f6fb592c15086e8b2b0276fd862e89f1 (diff) | |
Bugfix: exif_read_data() Incorrect APP1 Exif Identifier Code
Diffstat (limited to 'post.php')
| -rw-r--r-- | post.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -452,7 +452,7 @@ if (isset($_POST['delete'])) { // Currently only works with the 'convert' option selected but it could easily be expanded to work with the rest if you can be bothered. if (!($config['redraw_image'] || (($config['strip_exif'] && !$config['use_exiftool']) && ($post['extension'] == 'jpg' || $post['extension'] == 'jpeg')))) { if (in_array($config['thumb_method'], array('convert', 'convert+gifsicle', 'gm', 'gm+gifsicle'))) { - $exif = exif_read_data($upload); + $exif = @exif_read_data($upload); $gm = in_array($config['thumb_method'], array('gm', 'gm+gifsicle')); if (isset($exif['Orientation']) && $exif['Orientation'] != 1) { if ($config['convert_manual_orient']) { |
