summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli.c
diff options
context:
space:
mode:
authorGeorg Richter <georg@php.net>2004-08-15 05:48:16 +0000
committerGeorg Richter <georg@php.net>2004-08-15 05:48:16 +0000
commit1c6f49006b640c5ee2be320a834466876641ca7e (patch)
tree4089fe8931759ab1827f301c8c476b36f9c0c8cb /ext/mysqli/mysqli.c
parent8840250fa04b8edf9878874687eb2f4537bd53d7 (diff)
downloadphp-git-1c6f49006b640c5ee2be320a834466876641ca7e.tar.gz
fixed default for mysqli_fetch_array
Diffstat (limited to 'ext/mysqli/mysqli.c')
-rw-r--r--ext/mysqli/mysqli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c
index 154c249246..0575a411dd 100644
--- a/ext/mysqli/mysqli.c
+++ b/ext/mysqli/mysqli.c
@@ -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;
}