summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-09-10 19:30:34 +0000
committerDries Buytaert <dries@buytaert.net>2003-09-10 19:30:34 +0000
commitb9633dcdede3dcc3e9466382dbed6b1fb7603bee (patch)
tree4f8afec588da7d6e1cc9f756a0953c91410d6229 /includes/common.inc
parent81591038cb845c13286b74adbeac3665fcf3aff9 (diff)
downloadbrdo-b9633dcdede3dcc3e9466382dbed6b1fb7603bee.tar.gz
brdo-b9633dcdede3dcc3e9466382dbed6b1fb7603bee.tar.bz2
- Patch by Bart Jansen:
<quote> This adds session support for anonymous users and fixes a bug/typo. 1. changed rid for user #0 from 0 to 1 (rid 1 == anonymous user) to make inner join work. 2. replaced "if ($user .." by "if ($user->uid .." because now $user is always set (my previous change probably caused this). 3. db_next_id("user_uid") -> db_next_id("users_uid"); </quote> I repeat: "This adds session support for anonymous users and fixes a bug/typo."
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index cae9f0661..341f1da2b 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -670,7 +670,7 @@ function format_rss_channel($title, $link, $description, $items, $language = "en
$output .= " <description>". drupal_specialchars($description) ."</description>\n";
$output .= " <language>". drupal_specialchars(strip_tags($language)) ."</language>\n";
foreach ($args as $key => $value) {
- $output .= "<$key>". drupal_specialchars(strip_tags($value)) ."</$key>";
+ $output .= " <$key>". drupal_specialchars(strip_tags($value)) ."</$key>\n";
}
$output .= $items;
$output .= "</channel>\n";