diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/bluemarine/comment.tpl.php | 2 | ||||
-rw-r--r-- | themes/garland/comment.tpl.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/themes/bluemarine/comment.tpl.php b/themes/bluemarine/comment.tpl.php index 1cee35cba..02eee299c 100644 --- a/themes/bluemarine/comment.tpl.php +++ b/themes/bluemarine/comment.tpl.php @@ -1,4 +1,4 @@ - <div class="comment<?php if ($comment->status == COMMENT_NOT_PUBLISHED) print ' comment-unpublished'; ?>"> + <div class="comment<?php if (isset($comment->status) && $comment->status == COMMENT_NOT_PUBLISHED) print ' comment-unpublished'; ?>"> <?php if ($picture) { print $picture; } ?> diff --git a/themes/garland/comment.tpl.php b/themes/garland/comment.tpl.php index 6d3fb73c6..30c5ff937 100644 --- a/themes/garland/comment.tpl.php +++ b/themes/garland/comment.tpl.php @@ -1,4 +1,4 @@ -<div class="comment<?php print ($comment->new) ? ' comment-new' : ''; print ($comment->status == COMMENT_NOT_PUBLISHED) ? ' comment-unpublished' : ''; print ' '. $zebra; ?>"> +<div class="comment<?php print ($comment->new) ? ' comment-new' : ''; print (isset($comment->status) && $comment->status == COMMENT_NOT_PUBLISHED) ? ' comment-unpublished' : ''; print ' '. $zebra; ?>"> <div class="clear-block"> <?php if ($submitted): ?> |