summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2001-09-18 20:42:37 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2001-09-18 20:42:37 +0000
commitd330072db93e1e34cd1194c6f74a0ac4b69a3752 (patch)
treef2d381ef88f4db0c22f7bb7cc298ca99b43dda03
parent563c0670e5326135a470909bcb8a7a3486a1ae14 (diff)
downloadphp-git-d330072db93e1e34cd1194c6f74a0ac4b69a3752.tar.gz
argument count fix
-rw-r--r--ext/dbplus/php_dbplus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dbplus/php_dbplus.c b/ext/dbplus/php_dbplus.c
index 2c33740563..a53cb2df77 100644
--- a/ext/dbplus/php_dbplus.c
+++ b/ext/dbplus/php_dbplus.c
@@ -1140,7 +1140,7 @@ PHP_FUNCTION(dbplus_rquery)
zval **name, **dbpath;
int argc;
- if (argc <1 || argc>2 || zend_get_parameters_ex(1, &name, &dbpath) == FAILURE){
+ if ((argc <1) || (argc>2) || (zend_get_parameters_ex(2, &name, &dbpath) == FAILURE)){
WRONG_PARAM_COUNT;
}