diff --git a/modules/search/search-block-form.tpl.php b/modules/search/search-block-form.tpl.php
index d306815e6c926689f8a27f6d9109d25c6a0b3bb0..6da610a53ac5cebaf1e326e10f82a2b0ae859813 100644
--- a/modules/search/search-block-form.tpl.php
+++ b/modules/search/search-block-form.tpl.php
@@ -34,7 +34,7 @@
  */
 ?>
 <div class="container-inline">
-  <?php if (empty($variables['form']['#block']->title)) : ?>
+  <?php if (empty($variables['form']['#block']->subject)) : ?>
     <h2 class="element-invisible"><?php print t('Search form'); ?></h2>
   <?php endif; ?>
   <?php print $search_form; ?>