Commit acbfd07d authored by effulgentsia's avatar effulgentsia Committed by Nicholas Thompson
Browse files

Applying part ofthe patch from #1317540 - fix for Special Characters when...

Applying part ofthe patch from #1317540 - fix for Special Characters when using taxonomy on comments.
parent b20a1d71
......@@ -46,6 +46,7 @@ function comment_page_title_pattern_alter(&$pattern, &$types) {
// passed as a token.
// TODO: Handle multiple terms? Only pass specific terms per content type?
if (!empty($types['node']->taxonomy)) {
reset($types['node']->taxonomy);
$types['taxonomy'] = current($types['node']->taxonomy);
}
......
Supports Markdown
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