Messaging Module looks to be moving to OO code as of 16 Dec commits. $message parameter is now passed as an object and Mail2Web expects it to be an array. Starts around line 122
function mail2web_message_alter(&$message, $info)
I created a hack to cast $message to an array and then back to an object at end of function, but this is probably not the way to go. I was trying to see if I could get a proper patch together to change this function to OO but got lost in the code. Not a ping on the devs, just my limits.
Also notice that I got rid of the third parameter - $method - which does not appear to be passed by the latest Messaging code.
R,
Coby
Comments
Comment #1
cglusky commentedJust changed the title as the previous one was a bit out of control:)
Latest dev version of messaging module message_alter passes only two parameters with $message as object
Comment #2
cglusky commentedOK. This seems to work.
I am testing a bunch of other stuff and if i can get it to work i'll post a proper patch.
R,
C
Comment #3
cglusky commentedThis code works fine. Assigning to myself. Good news is I have a patch. The bad news is it's got more than this in it. I am going to post a new issue with a proposed patch and will cross post here.
R,
Coby
Comment #4
cglusky commentedmarking this a duplicate of the my other issue with patch here http://drupal.org/node/351260
Comment #5
Ian Ward commentedSwitch to mailcomment project. Mail2web is now known as "mailcomment" due to a trademark issue with the name mail2web.