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