aboutsummaryrefslogtreecommitdiff
path: root/views/rss/page
diff options
context:
space:
mode:
Diffstat (limited to 'views/rss/page')
-rw-r--r--views/rss/page/shells/default.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/views/rss/page/shells/default.php b/views/rss/page/shells/default.php
index 444fa99b5..da6f69c41 100644
--- a/views/rss/page/shells/default.php
+++ b/views/rss/page/shells/default.php
@@ -16,11 +16,9 @@ echo "<?xml version='1.0'?>\n";
// Set title
if (empty($vars['title'])) {
- $title = $vars['config']->sitename;
-} else if (empty($vars['config']->sitename)) {
- $title = $vars['title'];
+ $title = elgg_get_config('sitename');
} else {
- $title = $vars['config']->sitename . ": " . $vars['title'];
+ $title = elgg_get_config('sitename') . ": " . $vars['title'];
}
// Remove RSS from URL