#162050 by dvessel: user_comment() now modifies the comment, although hook_comment() was not intended to modify the comment, so we need to pass it in by reference to get modified
parent
bc33e002fa
commit
c3207e0ec1
|
@ -3180,9 +3180,9 @@ function user_forms() {
|
|||
}
|
||||
|
||||
/**
|
||||
* Implementation of hook_comments().
|
||||
* Implementation of hook_comment().
|
||||
*/
|
||||
function user_comment($comment, $op) {
|
||||
function user_comment(&$comment, $op) {
|
||||
// Validate signature.
|
||||
if ($op == 'view') {
|
||||
if (variable_get('user_signatures', 0) && !empty($comment->signature)) {
|
||||
|
|
Loading…
Reference in New Issue