mirror of
https://github.com/php/php-src.git
synced 2026-03-30 12:13:02 +02:00
fixed parameter parse string for mysqli_stmt_attr_set
This commit is contained in:
@@ -1779,7 +1779,7 @@ PHP_FUNCTION(mysqli_stmt_attr_set)
|
||||
ulong attr;
|
||||
int rc;
|
||||
|
||||
if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Olb", &mysql_stmt, mysqli_stmt_class_entry, &attr, &mode) == FAILURE) {
|
||||
if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Oll", &mysql_stmt, mysqli_stmt_class_entry, &attr, &mode) == FAILURE) {
|
||||
return;
|
||||
}
|
||||
MYSQLI_FETCH_RESOURCE(stmt, MY_STMT *, &mysql_stmt, "mysqli_stmt");
|
||||
|
||||
Reference in New Issue
Block a user