summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorGeorg Richter <georg@php.net>2004-07-26 07:19:05 +0000
committerGeorg Richter <georg@php.net>2004-07-26 07:19:05 +0000
commit485f862b350b892c164c0f0a962b4231a07dec90 (patch)
tree738d76ad349bca84f9254c402d33b5de30729075 /ext
parente64af9a898c7bc15a469c124486b923254ecc51c (diff)
downloadphp-git-485f862b350b892c164c0f0a962b4231a07dec90.tar.gz
fixed bug #29335
Diffstat (limited to 'ext')
-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 b02effb7f9..a51338ad33 100644
--- a/ext/mysqli/mysqli.c
+++ b/ext/mysqli/mysqli.c
@@ -602,7 +602,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;
}