diff --git a/core/modules/comment/comment.module b/core/modules/comment/comment.module index 54bfefa..c33c511 100644 --- a/core/modules/comment/comment.module +++ b/core/modules/comment/comment.module @@ -862,7 +862,7 @@ function comment_preprocess_field(&$variables) { $variables['title_attributes']['class'][] = 'title'; // Append additional attributes (eg. RDFa) from the first field item. - $variables['attributes'] += $variables['item_attributes'][0]->storage(); + $variables['attributes'] += $variables['items'][0]['attributes']->storage(); // Create separate variables for the comments and comment form. $variables['comments'] = $element[0]['comments'];