diff options
author | Zeev Suraski <zeev@php.net> | 1999-08-01 00:33:03 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-08-01 00:33:03 +0000 |
commit | e2f17b298ca2e834dddecb834dffd6657120c155 (patch) | |
tree | a0d548ee61f0b27a21a503d40e36bc1bdb0bffaa | |
parent | 7297f5196e619ea3512b3d4d461b23ba8241bd37 (diff) | |
download | php-git-e2f17b298ca2e834dddecb834dffd6657120c155.tar.gz |
Fix bug #1872
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | ext/sybase/sybase-ct.c | 2 | ||||
-rw-r--r-- | ext/sybase/sybase.c | 2 |
3 files changed, 5 insertions, 0 deletions
@@ -2,6 +2,7 @@ PHP 4.0 CHANGE LOG ChangeLog ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ??? ?? 1999, Version 4.0 Beta 2 +- Fixed sybase_fetch_object() (Zeev) - Made the IMAP module work with PHP 4.0 (Zeev) - Fixed a problem with include()/require() of URLs (Sascha, Zeev) - Fixed a bug in implode() that caused it to corrupt its arguments (Zeev) diff --git a/ext/sybase/sybase-ct.c b/ext/sybase/sybase-ct.c index aa1d992dae..f8c55ffaf5 100644 --- a/ext/sybase/sybase-ct.c +++ b/ext/sybase/sybase-ct.c @@ -1320,6 +1320,8 @@ PHP_FUNCTION(sybct_fetch_object) php3_sybct_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; } } diff --git a/ext/sybase/sybase.c b/ext/sybase/sybase.c index d6a8984ccf..7853cd6a64 100644 --- a/ext/sybase/sybase.c +++ b/ext/sybase/sybase.c @@ -941,6 +941,8 @@ PHP_FUNCTION(sybase_fetch_object) php3_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; } } |