diff options
Diffstat (limited to 'ext/fdf/fdf.c')
| -rw-r--r-- | ext/fdf/fdf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/fdf/fdf.c b/ext/fdf/fdf.c index f09b7433da..08a9d00563 100644 --- a/ext/fdf/fdf.c +++ b/ext/fdf/fdf.c @@ -209,8 +209,9 @@ PHP_FUNCTION(fdf_create) FDFDoc fdf; FDFErc err; - if (zend_parse_parameters(ZEND_NUM_ARGS(), "") == FAILURE) - return; + if (ZEND_NUM_ARGS() != 0) { + WRONG_PARAM_COUNT; + } err = FDFCreate(&fdf); |
