make sybase compile with engine2

This commit is contained in:
Thies C. Arntzen 2001-08-11 12:02:20 +00:00
parent 384c86542a
commit 8b480b8c09

View File

@ -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;
}
}
/* }}} */