Closed (fixed)
Project:
Messaging
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Mar 2009 at 17:10 UTC
Updated:
30 Mar 2009 at 17:41 UTC
Module creates message_alter hook so other modules can alter message but doesn't pass $message by reference
--- messaging.module 2009-03-30 10:57:44.880125000 -0600
+++ messaging_patched.module 2009-03-30 11:02:55.364500000 -0600
@@ -460,7 +460,7 @@ function messaging_message_send($destina
// Provides a hook for other modules to modify the message before sending
foreach (module_implements('message_alter') as $module) {
$function = $module.'_message_alter';
- $function($message, $info, $method);
+ $function(&$message, $info, $method);
}
// Renders subject and body applying filters in the process
| Comment | File | Size | Author |
|---|---|---|---|
| messaging_pass_by_reference.patch | 522 bytes | heydemo |
Comments
Comment #1
heydemo commentedOk, never mind, the module that implements this hook simply needs to pass by reference.... I get it.