Closed (fixed)
Project:
Privatemsg
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 May 2009 at 00:02 UTC
Updated:
23 Jul 2009 at 08:30 UTC
The Admin account for drupal get this error when trying to send a message "User is not allowed to write messages".
I am trying to send message using the function:
privatemsg_new_thread(array(user_load(100)), 'The subject', 'The body text'));
It works fine when I'm not logged in as admin.
Comments
Comment #1
berdirI can't reproduce this.
results in:
And with a non-existing user...
results in
Tested with devel.module's execute php code.
Are you using the latest dev version?
Comment #2
berdirI'm settings this to fixed, as there was no response for several weeks. Feel free to re-open this or create a new issue if you have more questions.