=== modified file 'modules/comment/comment-wrapper.tpl.php'
--- modules/comment/comment-wrapper.tpl.php	2010-05-05 06:41:22 +0000
+++ modules/comment/comment-wrapper.tpl.php	2010-11-05 20:03:45 +0000
@@ -45,7 +45,7 @@
 
   <?php print render($content['comments']); ?>
 
-  <?php if ($content['comment_form']): ?>
+  <?php if (!empty($content['comment_form'])): ?>
     <h2 class="title comment-form"><?php print t('Add new comment'); ?></h2>
     <?php print render($content['comment_form']); ?>
   <?php endif; ?>

=== modified file 'themes/bartik/templates/comment-wrapper.tpl.php'
--- themes/bartik/templates/comment-wrapper.tpl.php	2010-09-25 02:05:51 +0000
+++ themes/bartik/templates/comment-wrapper.tpl.php	2010-11-02 23:00:24 +0000
@@ -45,7 +45,7 @@
 
   <?php print render($content['comments']); ?>
 
-  <?php if ($content['comment_form']): ?>
+  <?php if (!empty($content['comment_form'])): ?>
     <h2 class="title comment-form"><?php print t('Add new comment'); ?></h2>
     <?php print render($content['comment_form']); ?>
   <?php endif; ?>

