Don't pass resource as an argument when its not being parsed.

This commit is contained in:
Sterling Hughes 2003-06-25 17:22:31 +00:00
parent 94b90d0c0a
commit 12b06799ae

View File

@ -2385,7 +2385,7 @@ PHP_FUNCTION(sqlite_create_function)
zval *object = getThis();
if (object) {
if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz|l", &zdb, &funcname, &funcname_len, &zcall, &num_args)) {
if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz|l", &funcname, &funcname_len, &zcall, &num_args)) {
return;
}
DB_FROM_OBJECT(db, object);