forked from leftypol/leftypol
Bugfix: exif_read_data() Incorrect APP1 Exif Identifier Code
This commit is contained in:
parent
0c829aa8f6
commit
373fb99a7f
2 changed files with 2 additions and 2 deletions
|
@ -371,7 +371,7 @@ class ImageConvert extends ImageBase {
|
|||
// For when -auto-orient doesn't exist (older versions)
|
||||
static public function jpeg_exif_orientation($src, $exif = false) {
|
||||
if (!$exif) {
|
||||
$exif = exif_read_data($src);
|
||||
$exif = @exif_read_data($src);
|
||||
if (!isset($exif['Orientation']))
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue