diff options
Diffstat (limited to 'includes/image.inc')
-rw-r--r-- | includes/image.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/image.inc b/includes/image.inc index 93622f509..fb3689d71 100644 --- a/includes/image.inc +++ b/includes/image.inc @@ -117,7 +117,7 @@ function image_scale($source, $destination, $width, $height) { $info = image_get_info($source); // don't scale up - if ($width > $info['width'] && $height > $info['height']) { + if ($width >= $info['width'] && $height >= $info['height']) { return FALSE; } |