From 8c5ccf640b32a74f404cb295802163db6c54864d Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Fri, 11 Apr 2014 10:38:35 +0200 Subject: [PATCH] Code adjustment --- php/modules/upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/modules/upload.php b/php/modules/upload.php index 682c719..7feae12 100644 --- a/php/modules/upload.php +++ b/php/modules/upload.php @@ -67,7 +67,7 @@ function upload($files, $albumID, $description = '', $tags = '') { if ($description==='') $description = $info['description']; // Set orientation based on EXIF data - if ($file['type'] === 'image/jpeg' && isset($info['orientation']) && isset($info['width']) && isset($info['height'])) { + if ($file['type']==='image/jpeg'&&isset($info['orientation'])&&isset($info['width'])&&isset($info['height'])) { if(extension_loaded('imagick')) {