core/modules/comment/lib/Drupal/comment/CommentRenderController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/comment/lib/Drupal/comment/CommentRenderController.php b/core/modules/comment/lib/Drupal/comment/CommentRenderController.php index 76fc0e6..f13c8d8 100644 --- a/core/modules/comment/lib/Drupal/comment/CommentRenderController.php +++ b/core/modules/comment/lib/Drupal/comment/CommentRenderController.php @@ -73,7 +73,7 @@ public function buildContent(array $entities, array $displays, $view_mode, $lang $entity->content['#attached'] = array(); } $entity->content['#attached']['library'][] = array('comment', 'drupal.comment-by-viewer'); - if (Drupal::moduleHandler()->moduleExists('history') && $user->isAuthenticated()) { + if (\Drupal::moduleHandler()->moduleExists('history') && $user->isAuthenticated()) { $entity->content['#attached']['library'][] = array('comment', 'drupal.comment-new-indicator'); } }