diff options
| author | Christophe Nowicki <cnowicki@easter-eggs.com> | 2004-08-19 14:26:14 +0000 |
|---|---|---|
| committer | Christophe Nowicki <cnowicki@easter-eggs.com> | 2004-08-19 14:26:14 +0000 |
| commit | fcf8baffafa98679eac9420f91255027aa117df1 (patch) | |
| tree | d6d1c85970700327a99257404bfafc9b7c8d7703 | |
| parent | d6c3b12af8f5708f5969cb3d66dcd2e63fad1612 (diff) | |
| download | lasso-fcf8baffafa98679eac9420f91255027aa117df1.tar.gz lasso-fcf8baffafa98679eac9420f91255027aa117df1.tar.xz lasso-fcf8baffafa98679eac9420f91255027aa117df1.zip | |
more logical comparaison
| -rw-r--r-- | php/environs/lasso_logout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php/environs/lasso_logout.c b/php/environs/lasso_logout.c index 91c10ac9..f1a5ec0c 100644 --- a/php/environs/lasso_logout.c +++ b/php/environs/lasso_logout.c @@ -70,7 +70,7 @@ PHP_FUNCTION(lasso_logout_init_request) { int num_args; num_args = ZEND_NUM_ARGS(); - if ((num_args == 1) && (num_args == 2)) + if (num_args != 1 && num_args != 2) WRONG_PARAM_COUNT if (zend_parse_parameters(num_args TSRMLS_CC, "z|s", |
