The way this hook was invoked was just trashing any hook implementation messages. If you take an array which already has keys on it you can't properly merge it with += . That will simply discard the 'error' and 'warning' keys of the array returned from invocation.
Proper way of doing this is to use array_merge_recursive(), like in patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| privatemsg.hook_validate.patch | 621 bytes | franz |
Comments
Comment #1
berdirarray_merge() should be enough in this case, because we're only interested in merging the most upper level, the inner stuff shouldn't be touched anyway.
Anyway, doesn't really matter, commited to all branches.