Commit c3207e0e authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#162050 by dvessel: user_comment() now modifies the comment, although...

#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 bc33e002
......@@ -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)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment