summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/node/node.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index ed251dc..a315601 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1960,7 +1960,7 @@ function node_feed($nodes = 0, $channel = array()) {
$channel_defaults = array(
'version' => '2.0',
- 'title' => variable_get('site_name', 'Drupal') .' - '. variable_get('site_slogan', ''),
+ 'title' => variable_get('site_name', 'Drupal') . (variable_get('site_slogan', '') ? ' - '. variable_get('site_slogan', '') : ''),
'link' => $base_url,
'description' => variable_get('site_mission', ''),
'language' => $locale