diff options
Diffstat (limited to 'ext/sybase')
-rw-r--r-- | ext/sybase/php_sybase_db.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sybase/php_sybase_db.c b/ext/sybase/php_sybase_db.c index 8823ea0810..db6adf7ceb 100644 --- a/ext/sybase/php_sybase_db.c +++ b/ext/sybase/php_sybase_db.c @@ -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; } } /* }}} */ |