aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-rw-r--r--views/default/pageshell.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/default/pageshell.php b/views/default/pageshell.php
index 648fa1ff6..499f1486e 100644
--- a/views/default/pageshell.php
+++ b/views/default/pageshell.php
@@ -20,6 +20,8 @@
// Set title
if (empty($vars['title'])) {
$title = $vars['config']->sitename;
+ } else if (empty($vars['config']->sitename)) {
+ $title = $vars['title'];
} else {
$title = $vars['config']->sitename . ": " . $vars['title'];
}