"Send private message" link on the user page doesn't appear with Drupal 4.7 RC3, here is a patch that fixes the issue.

Thank you.

CommentFileSizeAuthor
#5 privatemsg_4.module26.49 KBsatori1984
privatemsg.patch.txt1.89 KBAyman

Comments

Ayman’s picture

Status: Active » Reviewed & tested by the community
laura s’s picture

Just an FYI, I applied this patch and it fixed the problem on a site under development. Hope this can be committed soon, as the bug makes the user profile links inaccessible.

cagg’s picture

Status: Reviewed & tested by the community » Needs review

Well, it still didn't work for me. First of all, when I try to send a message I get a warning box "warning: Attempt to assign property of non-object in .../privatemsg.module on line 269."

I also tried sending myself a test message (and filled in the name manually) and got a php script error "Fatal error: Call to undefined function: array2object() in .../privatemsg.module on line 484"

Ayman’s picture

cagg,

For the warning see:
http://drupal.org/node/40626

And for the error:
http://drupal.org/node/47918

Your issues aren't related to this patch.

satori1984’s picture

StatusFileSize
new26.49 KB

+1

I've attached a patched privatemsg.module which addresses both this issue and the one stated at http://drupal.org/node/40626. The error mentioned at http://drupal.org/node/47918 is already committed to HEAD.

Please commit ASAP!

Peace

Ayman’s picture

The patch at issue #47918 needs to be committed to the 4.7 branch as well.

mindless’s picture

Another request to have this committed.. thanks.

mindless’s picture

Status: Needs review » Closed (duplicate)

I'm collecting together patches and fixing a couple more bugs. Also cleaning up issues to encourage getting these fixes committed. I'm closing this one in favor of 46623 because that one defines the 'class' for the links (send-message or need-login).