Made the changes you listed in the post, all seems to be working perfectly!
Just to verify:
< $vars = $object->getPublicProperties();
<
< foreach ($vars as $k) {
< $v =& $object->$k;
< if (is_array( $v ) or is_object( $v ) or $v === NULL) {
---
> foreach (get_object_vars( $object ) as $k => $v) {
> if (is_array($v) or is_object($v) or $v === NULL) {
> continue;
> }
> if ($k[0] == '_') { // internal field
The getPublicProperties line...You did mean to REMOVE this and replace with the code right? As its not listed in your fix.
Thanks!
Post edited by: edenapple, at: 2005/12/30 19:20
Post edited by: edenapple, at: 2005/12/30 19:24