diff options
| author | Georg Richter <georg@php.net> | 2004-08-15 05:48:16 +0000 |
|---|---|---|
| committer | Georg Richter <georg@php.net> | 2004-08-15 05:48:16 +0000 |
| commit | 1c6f49006b640c5ee2be320a834466876641ca7e (patch) | |
| tree | 4089fe8931759ab1827f301c8c476b36f9c0c8cb /ext/mysqli/mysqli.c | |
| parent | 8840250fa04b8edf9878874687eb2f4537bd53d7 (diff) | |
| download | php-git-1c6f49006b640c5ee2be320a834466876641ca7e.tar.gz | |
fixed default for mysqli_fetch_array
Diffstat (limited to 'ext/mysqli/mysqli.c')
| -rw-r--r-- | ext/mysqli/mysqli.c | 2 |
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; } |
