* 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.
This commit is contained in:
Zeev Suraski 1999-05-14 18:25:16 +00:00
parent 67296f0704
commit 1fb61df8a5
14 changed files with 51 additions and 1 deletions

View file

@ -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;
}
}
/* }}} */