From dcff9b78507f94ed4a87a07550cb9e3ecb3ecd1c Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon <yahgrp@poplarware.com> Date: Mon, 4 Mar 2013 12:57:57 -0800 Subject: [PATCH] Issue #1932354 by Alexander Pyle: Fix up documentation for image_scale() --- core/includes/image.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/includes/image.inc b/core/includes/image.inc index f0b91bfe3b97..f6afe2938dbd 100644 --- a/core/includes/image.inc +++ b/core/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. -- GitLab