Skip to content

Commit

Permalink
MFH: fixed bug 29335
Browse files Browse the repository at this point in the history
  • Loading branch information
Georg Richter committed Jul 26, 2004
1 parent 3e65f6b commit 1b10ad4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS
Expand Up @@ -5,6 +5,7 @@ PHP NEWS
(Marcus, kameshj at fastmail dot fm)
- Fixed bug #29368 (The destructor is called when an exception is thrown from
the constructor). (Marcus)
- Fixed bug #29335 (fetch functions now use MYSQLI_BOTH as default) (Georg)
- Fixed bug #29291 (get_class_vars() return names with NULLs). (Marcus)
- Fixed bug #29119 (html_entity_decode() misbehaves with UTF-8). (Moriyoshi)
- Fixed bug #28895 (ReflectionClass::isAbstract always returns false). (Marcus)
Expand Down
2 changes: 1 addition & 1 deletion ext/mysqli/mysqli.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1b10ad4

Please sign in to comment.