summaryrefslogtreecommitdiff
path: root/modules/aggregator.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-06-02 13:07:58 +0000
committerDries Buytaert <dries@buytaert.net>2006-06-02 13:07:58 +0000
commit07ca789996fd880bde849519fd8c1eab8c1131b0 (patch)
treebe7473c97dc59beb5f8d1b7a08ff629b65ae8333 /modules/aggregator.module
parent5059b82164d1ef675af6e66b996d012bd5b32e53 (diff)
downloadbrdo-07ca789996fd880bde849519fd8c1eab8c1131b0.tar.gz
brdo-07ca789996fd880bde849519fd8c1eab8c1131b0.tar.bz2
- Removed double slash in URL.
Diffstat (limited to 'modules/aggregator.module')
-rw-r--r--modules/aggregator.module4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/aggregator.module b/modules/aggregator.module
index da6b17fe7..7463012eb 100644
--- a/modules/aggregator.module
+++ b/modules/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 .= "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
$output .= "<rss version=\"2.0\">\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 .= "</rss>\n";
drupal_set_header('Content-Type: text/xml; charset=utf-8');