Hi I'm working on to get the module called: "User badges" to work on Drupal 4.7 beta-6 and I struck onto an error..
Unlucky me the search engine has gone dead here on drupal.org so I can't search due to an upgrade of the site..
The line that's giving me a problem is this:
$edit = array2object($edit);
Here's what I've found about array2object.. It's used in Drupal 4.6 API and lies under common.inc and it does this: Convert an associative array to an anonymous object.
I wanna solve this.. What do you I use in Drupal 4.7 API to get rid of this error? Please help!
Best regards
Comments
Any upgrade issues take a
Any upgrade issues take a look at the following Page which tell you all the changes that have happened to Drupal.
Drupal no longer users array2object() or object2array() but instead uses the standard cast which should be a lot faster.
or the other way
--
Gordon Heydon
Heydon Consulting
--
Gordon Heydon