mirror of
https://github.com/php/php-src.git
synced 2025-08-20 01:14:28 +02:00
Minor fix
This commit is contained in:
parent
d66fad5fcd
commit
2c91f1d91b
1 changed files with 2 additions and 0 deletions
|
@ -1093,6 +1093,8 @@ DLEXPORT PHP_FUNCTION(msql_fetch_object)
|
|||
php3_msql_fetch_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU);
|
||||
if (return_value->type==IS_ARRAY) {
|
||||
return_value->type=IS_OBJECT;
|
||||
return_value->value.obj.properties = return_value->value.ht;
|
||||
return_value->value.obj.ce = &zend_standard_class_def;
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue