summaryrefslogtreecommitdiff
path: root/ext/mssql
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2001-08-13 16:13:25 +0000
committerAndi Gutmans <andi@php.net>2001-08-13 16:13:25 +0000
commit9a3d4e736c974213e2c0862d420907604e22e5d5 (patch)
tree070011b98f95da74b5ce0d088e7f9b91ebffe023 /ext/mssql
parent0c0999352f5e3980128023169741fb1092cfd4df (diff)
downloadphp-git-9a3d4e736c974213e2c0862d420907604e22e5d5.tar.gz
- More ZE2 fixes
Diffstat (limited to 'ext/mssql')
-rw-r--r--ext/mssql/php_mssql.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/mssql/php_mssql.c b/ext/mssql/php_mssql.c
index f10dfadaa6..995bc157b1 100644
--- a/ext/mssql/php_mssql.c
+++ b/ext/mssql/php_mssql.c
@@ -1226,9 +1226,7 @@ PHP_FUNCTION(mssql_fetch_object)
{
php_mssql_fetch_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU, MSSQL_ASSOC);
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;
+ object_and_properties_init(return_value, &zend_standard_class_def, return_value->value.ht);
}
}