Skip to content

Commit

Permalink
Don't pass resource as an argument when its not being parsed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sterling Hughes committed Jun 25, 2003
1 parent 94b90d0 commit 12b0679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/sqlite/sqlite.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 12b0679

Please sign in to comment.