diff --git a/core/modules/comment/comment.module b/core/modules/comment/comment.module index 76f9a8c..5140122 100644 --- a/core/modules/comment/comment.module +++ b/core/modules/comment/comment.module @@ -742,11 +742,11 @@ function template_preprocess_comment(&$variables) { // Create markers to display the status. $markers = array(); - if($variables['status']) { + if (isset($variables['status'])) { $markers[] = array( '#theme' => 'mark', '#status' => $variables['status'], - '#type' => 'warning' + '#type' => 'warning', ); } $variables['markers'] = drupal_render($markers);