Commit 317bd2d1 authored by greggles's avatar greggles

bug #323399 by PremAnup: Variables !commname, !commtext, !commsubj don't work...

bug #323399 by PremAnup: Variables !commname, !commtext, !commsubj don't work for sending to a subscribed author
parent b3daece9
......@@ -352,9 +352,9 @@ function _comment_notify_mailalert($comment) {
$message = t(
variable_get('node_notify_default_mailtext', AUTHOR_MAILTEXT),
array(
'!commname' => $commname,
'!commtext' => $commtext,
'!commsubj' => $commsubj,
'!commname' => $comment->name,
'!commtext' => $comment->comment,
'!commsubj' => $comment->subject,
'!comment_url' => url('node/'. $nid, NULL, NULL, 1) .'#comment-'. $cid,
'!node_title' => $node->title,
'!node_teaser' => $node->teaser,
......
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