diff options
author | Andi Gutmans <andi@php.net> | 2001-08-13 16:40:12 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2001-08-13 16:40:12 +0000 |
commit | a5afd0e9d04861e312f95d839c342110f300ca64 (patch) | |
tree | 6566a9b446dc8d44c9ef1a0643971589c15fead3 /ext/sybase_ct | |
parent | 9a3d4e736c974213e2c0862d420907604e22e5d5 (diff) | |
download | php-git-a5afd0e9d04861e312f95d839c342110f300ca64.tar.gz |
- ZE2 fixes
Diffstat (limited to 'ext/sybase_ct')
-rw-r--r-- | ext/sybase_ct/php_sybase_ct.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/sybase_ct/php_sybase_ct.c b/ext/sybase_ct/php_sybase_ct.c index 8483f20116..0dd7371042 100644 --- a/ext/sybase_ct/php_sybase_ct.c +++ b/ext/sybase_ct/php_sybase_ct.c @@ -1384,9 +1384,7 @@ 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; + object_and_properties_init(return_value, &zend_standard_class_def, return_value->value.ht); } } /* }}} */ |