diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-09-30 13:50:35 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-09-30 13:50:35 -0700 |
commit | 33c58e171cea3102098f0fb848ba406caf62dd1f (patch) | |
tree | 3e356878ac7f8098b19e3d2b16eb115a4a9f7e40 /modules/comment/comment.module | |
parent | 18b96d0cda76abc603e4dc9f8e028c7274123d84 (diff) | |
download | brdo-33c58e171cea3102098f0fb848ba406caf62dd1f.tar.gz brdo-33c58e171cea3102098f0fb848ba406caf62dd1f.tar.bz2 |
Issue #1110650 by oriol_e9g, JohnAlbin, linclark, dixon_: Fixed comment-by-anonymous class never appears.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r-- | modules/comment/comment.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 4692d3313..99b0e2686 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -2288,7 +2288,7 @@ function template_preprocess_comment(&$variables) { $variables['status'] = ($comment->status == COMMENT_NOT_PUBLISHED) ? 'comment-unpublished' : 'comment-published'; } // Gather comment classes. - if ($comment->uid === 0) { + if ($comment->uid == 0) { $variables['classes_array'][] = 'comment-by-anonymous'; } else { |