summaryrefslogtreecommitdiff
path: root/ext/fdf/fdf.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fdf/fdf.c')
-rw-r--r--ext/fdf/fdf.c2
1 files changed, 1 insertions, 1 deletions
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);