
The argument $arg0 is not necessary anyway, best to just remove it.
More details on the issue:
- The hook_notifications is, eventually, invoked from messaging.module in messaging_module_invoke_all()
- messaging_module_invoke_all() uses call_user_func_array() to make the invokation
- call_user_func_array() does not work for functions which request pass by reference (it returns NULL).
Comment | File | Size | Author |
---|---|---|---|
#1 | 1991388-Fixing-PHP-5.3-bug-pass-by-reference-does-no.patch | 836 bytes | James Andres |
Comments
Comment #1
James Andres CreditAttribution: James Andres commentedThe patch