diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-12-12 01:03:34 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-12-12 01:03:34 +0000 |
commit | 72d80d208fa8bd0c6c0f4688dcbdeb98b10e0d6f (patch) | |
tree | abb9963d8ab3a55326cd70a343ab4d0a72a04450 | |
parent | 293b12cc21e9d969eacd42b8e59d038148a066f5 (diff) | |
download | brdo-72d80d208fa8bd0c6c0f4688dcbdeb98b10e0d6f.tar.gz brdo-72d80d208fa8bd0c6c0f4688dcbdeb98b10e0d6f.tar.bz2 |
#101970: image_scale() should not scale to identical sizes
-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; } |