From f119fd649849f3ec3c76c6b9b77d6404accb5413 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Fri, 20 Sep 2002 01:25:55 +0000 Subject: [PATCH] Fixed bug #19487 --- ext/gd/gd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.50.1