summaryrefslogtreecommitdiffstats
path: root/php
diff options
context:
space:
mode:
authorChristophe Nowicki <cnowicki@easter-eggs.com>2004-08-12 10:40:37 +0000
committerChristophe Nowicki <cnowicki@easter-eggs.com>2004-08-12 10:40:37 +0000
commitf617fa6014f32864ebb5308f2815e292c676050c (patch)
treecc2ec36ceb96e3eebcf3bf4ae100814123086288 /php
parent010ce911f65ab544efa12be332c371a80c28af17 (diff)
downloadlasso-f617fa6014f32864ebb5308f2815e292c676050c.tar.gz
lasso-f617fa6014f32864ebb5308f2815e292c676050c.tar.xz
lasso-f617fa6014f32864ebb5308f2815e292c676050c.zip
fixed wrong args num for lasso_login_init_authn_request
Diffstat (limited to 'php')
-rw-r--r--php/environs/lasso_login.c2
1 files changed, 1 insertions, 1 deletions
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", &param) == FAILURE) {