Browse Source

Code adjustment

Tobias Reich 11 years ago
parent
commit
8c5ccf640b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      php/modules/upload.php

+ 1 - 1
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')) {