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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/fdf/fdf.c b/ext/fdf/fdf.c
index a1b880a46c..f09b7433da 100644
--- a/ext/fdf/fdf.c
+++ b/ext/fdf/fdf.c
@@ -209,6 +209,9 @@ PHP_FUNCTION(fdf_create)
FDFDoc fdf;
FDFErc err;
+ if (zend_parse_parameters(ZEND_NUM_ARGS(), "") == FAILURE)
+ return;
+
err = FDFCreate(&fdf);
if(err != FDFErcOK || !fdf) {