diff --git a/src/controllers/uploads.js b/src/controllers/uploads.js index 374152e388..11c75fd7f9 100644 --- a/src/controllers/uploads.js +++ b/src/controllers/uploads.js @@ -104,7 +104,7 @@ function resizeImage(fileObj, callback) { image.size(fullPath, next); }, function (imageData, next) { - if (imageData.width < parseInt(meta.config.maximumImageWidth, 10) || 760) { + if (imageData.width < (parseInt(meta.config.maximumImageWidth, 10) || 760)) { return callback(null, fileObj); }