Code adjustment

This commit is contained in:
Tobias Reich 2014-04-11 10:38:35 +02:00
parent b62d8b24fa
commit 8c5ccf640b

View File

@ -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')) {