diff options
author | plegall <plg@piwigo.org> | 2014-09-03 16:59:15 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2014-09-03 16:59:15 +0000 |
commit | 2125efc8caecf15b722fd6858ae6eb2dbd937d3c (patch) | |
tree | 75a28855d7fd37a6521207c798fe6ad83aadbdc5 /admin/include | |
parent | ab00c52430610633768cf3d856f105cad0f52e9d (diff) |
bug 3134: hide warnings on exif_read_data to avoid breaking HTML5 upload
git-svn-id: http://piwigo.org/svn/trunk@29392 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/include')
-rw-r--r-- | admin/include/image.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/image.class.php b/admin/include/image.class.php index 22949fcbe..e77699758 100644 --- a/admin/include/image.class.php +++ b/admin/include/image.class.php @@ -241,7 +241,7 @@ class pwg_image $rotation = 0; - $exif = exif_read_data($source_filepath); + $exif = @exif_read_data($source_filepath); if (isset($exif['Orientation']) and preg_match('/^\s*(\d)/', $exif['Orientation'], $matches)) { |