diff options
Diffstat (limited to 'admin/include')
-rw-r--r-- | admin/include/functions_upload.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/admin/include/functions_upload.inc.php b/admin/include/functions_upload.inc.php index a52142d0c..d1aed33ca 100644 --- a/admin/include/functions_upload.inc.php +++ b/admin/include/functions_upload.inc.php @@ -141,6 +141,10 @@ function add_uploaded_file($source_filepath, $original_filename=null, $categorie } // update metadata from the uploaded file (exif/iptc) + if ($conf['use_exif'] and !function_exists('read_exif_data')) + { + $conf['use_exif'] = false; + } update_metadata(array($image_id=>$file_path)); invalidate_user_cache(); |