Index: themes/seven/page.tpl.php
===================================================================
RCS file: /cvs/drupal/drupal/themes/seven/page.tpl.php,v
retrieving revision 1.12
diff -u -p -r1.12 page.tpl.php
--- themes/seven/page.tpl.php	4 Jan 2010 03:57:19 -0000	1.12
+++ themes/seven/page.tpl.php	25 Aug 2010 21:48:11 -0000
@@ -5,8 +5,12 @@
   <div id="branding" class="clearfix">
     <?php print $breadcrumb; ?>
     <?php print render($title_prefix); ?>
-    <?php if ($title): ?>
-      <h1 class="page-title"><?php print $title; ?></h1>
+    <?php if ($site_name): ?>
+      <?php if ($title): ?>
+        <h1 class="page-title"><?php print $title; ?></h1>
+      <?php else: ?>
+        <h1 class="page-title"><?php print $site_name; ?></h1>
+      <?php endif; ?>
     <?php endif; ?>
     <?php print render($title_suffix); ?>
     <?php if ($primary_local_tasks): ?><ul class="tabs primary"><?php print render($primary_local_tasks); ?></ul><?php endif; ?>
