From: Ilia Alshanetsky Date: Fri, 20 Sep 2002 01:25:55 +0000 (+0000) Subject: Fixed bug #19487 X-Git-Tag: MODERN_SYMMETRIC_SESSION_BEHAVIOUR_20021003~274 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f119fd649849f3ec3c76c6b9b77d6404accb5413;p=php Fixed bug #19487 --- diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 3d51b68f17..af925d736a 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -1167,7 +1167,7 @@ static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, convert_to_string_ex(file); - if (argc == 4 && image_type == PHP_GDIMG_TYPE_GD2PART) { + if (argc == 5 && image_type == PHP_GDIMG_TYPE_GD2PART) { multi_convert_to_long_ex(4, srcx, srcy, width, height); }