summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli.c
diff options
context:
space:
mode:
authorGeorg Richter <georg@php.net>2004-07-26 07:22:01 +0000
committerGeorg Richter <georg@php.net>2004-07-26 07:22:01 +0000
commit1b10ad424a82b492e39c841516b4e2066f0f2c0c (patch)
tree75a3644f5da40e7cda445a2182e27fbfc793018e /ext/mysqli/mysqli.c
parent3e65f6bf57619859a0bb5c53e22819e9e60baefa (diff)
downloadphp-git-1b10ad424a82b492e39c841516b4e2066f0f2c0c.tar.gz
MFH: fixed bug 29335
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 684e622ae8..d9ef90dd43 100644
--- a/ext/mysqli/mysqli.c
+++ b/ext/mysqli/mysqli.c
@@ -594,7 +594,7 @@ void php_mysqli_fetch_into_hash(INTERNAL_FUNCTION_PARAMETERS, int override_flags
}
fetchtype = override_flags;
} else {
- fetchtype = MYSQLI_NUM;
+ fetchtype = MYSQLI_ASSOC;
if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O|l", &mysql_result, mysqli_result_class_entry, &fetchtype) == FAILURE) {
return;
}