From f617fa6014f32864ebb5308f2815e292c676050c Mon Sep 17 00:00:00 2001 From: Christophe Nowicki Date: Thu, 12 Aug 2004 10:40:37 +0000 Subject: fixed wrong args num for lasso_login_init_authn_request --- php/environs/lasso_login.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'php') diff --git a/php/environs/lasso_login.c b/php/environs/lasso_login.c index 3b0281f1..359c80e7 100644 --- a/php/environs/lasso_login.c +++ b/php/environs/lasso_login.c @@ -70,7 +70,7 @@ PHP_FUNCTION(lasso_login_init_authn_request) { int num_args; int ret; - if ((num_args = ZEND_NUM_ARGS()) != 2) + if ((num_args = ZEND_NUM_ARGS()) != 1) WRONG_PARAM_COUNT if (zend_parse_parameters(num_args TSRMLS_CC, "z", ¶m) == FAILURE) { -- cgit