diff options
Diffstat (limited to 'ext/odbc/php_odbc.c')
-rw-r--r-- | ext/odbc/php_odbc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c index ab0638ed10..951e35a161 100644 --- a/ext/odbc/php_odbc.c +++ b/ext/odbc/php_odbc.c @@ -710,7 +710,10 @@ PHP_FUNCTION(odbc_close_all) int type; int i; int nument; - + + if (zend_parse_parameters(ZEND_NUM_ARGS(), "") == FAILURE) + return; + nument = zend_hash_next_free_element(&EG(regular_list)); /* Loop through list and close all statements */ |