From: Uwe Steinmann Date: Wed, 15 Nov 2000 17:07:56 +0000 (+0000) Subject: - fixed silly bug (did check for 5 arguments but expected only 4) X-Git-Tag: php-4.0.4RC3~192 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8dcb3fdf3c99be0738e4c9ebfb77295cf25a1d8b;p=php - fixed silly bug (did check for 5 arguments but expected only 4) --- diff --git a/ext/fdf/fdf.c b/ext/fdf/fdf.c index 6c4d6cd839..510593352b 100644 --- a/ext/fdf/fdf.c +++ b/ext/fdf/fdf.c @@ -740,7 +740,7 @@ PHP_FUNCTION(fdf_set_javascript_action) { FDFErc err; FDF_TLS_VARS; - if (ZEND_NUM_ARGS() != 5 || zend_get_parameters_ex(4, &arg1, &arg2,&arg3, &arg4) == FAILURE) { + if (ZEND_NUM_ARGS() != 4 || zend_get_parameters_ex(4, &arg1, &arg2,&arg3, &arg4) == FAILURE) { WRONG_PARAM_COUNT; } convert_to_long_ex(arg1);