Skip to content
Snippets Groups Projects
Commit 2026f92d authored by catch's avatar catch
Browse files

Issue #1027936 by webflo, nicholasThompson: Comment Preprocess sets a links...

Issue #1027936 by webflo, nicholasThompson: Comment Preprocess sets a links class as a string, should be an array.
parent 3a056959
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -1414,7 +1414,7 @@ function template_preprocess_comment(&$variables) {
$uri = $comment->uri();
$permalink_uri = $comment->permalink();
$uri['options'] += array('attributes' => array('class' => 'permalink', 'rel' => 'bookmark'));
$uri['options'] += array('attributes' => array('class' => array('permalink'), 'rel' => 'bookmark'));
$variables['title'] = l($comment->subject->value, $uri['path'], $uri['options']);
$variables['permalink'] = l(t('Permalink'), $permalink_uri['path'], $permalink_uri['options']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment