Change line 533 from

$links['comment_add']['href'] = "node/add/$comment_type/$node->nid";

to

$links['comment_add']['href'] = "node/add/" . str_replace('_', '-', $comment_type) . "/$node->nid";

Comments

andrewlevine’s picture

You also need to change line 592 from:

        'href' => "node/add/$comment->type/$comment->comment_target_nid/$comment->nid"

to

'href' => "node/add/" . str_replace('_', '-', $comment->type) . "/$comment->comment_target_nid/$comment->nid"
sirkitree’s picture

Status: Needs review » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.