summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2013-03-04 12:58:24 -0800
committerJennifer Hodgdon <yahgrp@poplarware.com>2013-03-04 12:58:24 -0800
commite0a69c4c53775c8e902da416f48108ad46023727 (patch)
tree38f4839e890a55a96ee29a3f1814e07897049183 /includes
parent078f24b0702b512a1e57c961f6f992617582ab9e (diff)
downloadbrdo-e0a69c4c53775c8e902da416f48108ad46023727.tar.gz
brdo-e0a69c4c53775c8e902da416f48108ad46023727.tar.bz2
Issue #1932354 by Alexander Pyle: Fix up documentation for image_scale()
Diffstat (limited to 'includes')
-rw-r--r--includes/image.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/image.inc b/includes/image.inc
index ee5a086de..e30a33855 100644
--- a/includes/image.inc
+++ b/includes/image.inc
@@ -233,11 +233,11 @@ function image_dimensions_scale(array &$dimensions, $width = NULL, $height = NUL
* @param $image
* An image object returned by image_load().
* @param $width
- * The target width, in pixels. This value is omitted then the scaling will
- * based only on the height value.
+ * The target width, in pixels. If this value is NULL then the scaling will
+ * be based only on the height value.
* @param $height
- * The target height, in pixels. This value is omitted then the scaling will
- * based only on the width value.
+ * The target height, in pixels. If this value is NULL then the scaling will
+ * be based only on the width value.
* @param $upscale
* Boolean indicating that files smaller than the dimensions will be scaled
* up. This generally results in a low quality image.