1
0
mirror of https://github.com/php/php-src.git synced 2026-04-05 07:02:33 +02:00

fixed default for mysqli_fetch_array

This commit is contained in:
Georg Richter
2004-08-15 05:48:16 +00:00
parent 8840250fa0
commit 1c6f49006b

View File

@@ -621,7 +621,7 @@ void php_mysqli_fetch_into_hash(INTERNAL_FUNCTION_PARAMETERS, int override_flags
}
fetchtype = override_flags;
} else {
fetchtype = MYSQLI_ASSOC;
fetchtype = MYSQLI_BOTH;
if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O|l", &mysql_result, mysqli_result_class_entry, &fetchtype) == FAILURE) {
return;
}