diff options
author | Zeev Suraski <zeev@php.net> | 1999-05-14 18:25:16 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-05-14 18:25:16 +0000 |
commit | 1fb61df8a5d7f801be8fb5850ff639b26fc7dd0c (patch) | |
tree | ac5415670848e3834080e57c11be0a2fcaf03b64 /ext/mysql/mysql.c | |
parent | 67296f0704403c84a5921011dbe44d4fee578cc5 (diff) | |
download | php-git-1fb61df8a5d7f801be8fb5850ff639b26fc7dd0c.tar.gz |
* Include all of the standard modules in internal_functions.c.in. Stig - is that
the way you intended it to be? How does the basic_functions module get in there?
* Fix to get MySQL objects working, even though I'll probably make a dedicated
MySQL object in the future.
Diffstat (limited to 'ext/mysql/mysql.c')
-rw-r--r-- | ext/mysql/mysql.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/mysql/mysql.c b/ext/mysql/mysql.c index afe05d3b7e..06b1306793 100644 --- a/ext/mysql/mysql.c +++ b/ext/mysql/mysql.c @@ -1481,6 +1481,8 @@ void php3_mysql_fetch_object(INTERNAL_FUNCTION_PARAMETERS) php3_mysql_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 = &standard_class; } } /* }}} */ |