From 1fb61df8a5d7f801be8fb5850ff639b26fc7dd0c Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Fri, 14 May 1999 18:25:16 +0000 Subject: * 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. --- ext/mysql/mysql.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/mysql/mysql.c') 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; } } /* }}} */ -- cgit v1.2.1