Looking to troubleshoot existing code to enable inline registration for anonymous users on a drupal site.
Code is based upon two modules - Inline Registration([login to view URL]) and Privatemsg ([login to view URL]). (Customized PHP code is attached to this message if you want to have a look).
Problem arises when trying to assign newly created user as author of new private message. See line 110 of [login to view URL] and line 899 of privatemsg.module.
If you have a solution, please bid.