Looking to troubleshoot existing code to enable inline registration for anonymous users on a drupal site.
Code is based upon two modules - Inline Registration([url removed, login to view]) and Privatemsg ([url removed, login to view]). (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 [url removed, login to view] and line 899 of privatemsg.module.
If you have a solution, please bid.