diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/garland/page.tpl.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/themes/garland/page.tpl.php b/themes/garland/page.tpl.php index f7e27fb52..66fa4a3f2 100644 --- a/themes/garland/page.tpl.php +++ b/themes/garland/page.tpl.php @@ -32,7 +32,9 @@ $site_fields[] = check_plain($site_slogan); } $site_title = implode(' ', $site_fields); - $site_fields[0] = '<span>'. $site_fields[0] .'</span>'; + if ($site_fields) { + $site_fields[0] = '<span>'. $site_fields[0] .'</span>'; + } $site_html = implode(' ', $site_fields); if ($logo || $site_title) { |