mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
make sybase compile with engine2
This commit is contained in:
parent
384c86542a
commit
8b480b8c09
@ -1009,8 +1009,8 @@ PHP_FUNCTION(sybase_fetch_object)
|
||||
php_sybase_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;
|
||||
Z_OBJPROP_P(return_value) = return_value->value.ht;
|
||||
Z_OBJCE_P(return_value) = &zend_standard_class_def;
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
Loading…
Reference in New Issue
Block a user