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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/fdf/fdf.c b/ext/fdf/fdf.c
index e333a61406..0783027cbb 100644
--- a/ext/fdf/fdf.c
+++ b/ext/fdf/fdf.c
@@ -528,8 +528,8 @@ PHP_FUNCTION(fdf_create)
FDFDoc fdf;
FDFErc err;
- if (ZEND_NUM_ARGS() != 0) {
- WRONG_PARAM_COUNT;
+ if (zend_parse_parameters_none() == FAILURE) {
+ return;
}
err = FDFCreate(&fdf);