From 07ca789996fd880bde849519fd8c1eab8c1131b0 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 2 Jun 2006 13:07:58 +0000 Subject: - Removed double slash in URL. --- modules/aggregator/aggregator.module | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'modules/aggregator/aggregator.module') diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index da6b17fe7..7463012eb 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -1162,8 +1162,6 @@ function aggregator_page_sources() { * Menu callback; generate an RSS 0.92 feed of aggregator items or categories. */ function aggregator_page_rss() { - global $base_url; - // arg(2) is the passed cid, only select for that category $result = NULL; if (arg(2)) { @@ -1197,7 +1195,7 @@ function aggregator_page_rss() { $output .= "\n"; $output .= "\n"; - $output .= format_rss_channel(variable_get('site_name', t('Drupal')) . ' ' . t('aggregator'), $base_url . '/' . url('aggregator' . $url), variable_get('site_name', t('Drupal')) . ' - ' . t('aggregated feeds') . $title, $items, 'en'); + $output .= format_rss_channel(variable_get('site_name', t('Drupal')) . ' ' . t('aggregator'), url('aggregator' . $url, NULL, NULL, TRUE), variable_get('site_name', t('Drupal')) . ' - ' . t('aggregated feeds') . $title, $items, 'en'); $output .= "\n"; drupal_set_header('Content-Type: text/xml; charset=utf-8'); -- cgit v1.2.3