From b9633dcdede3dcc3e9466382dbed6b1fb7603bee Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 10 Sep 2003 19:30:34 +0000 Subject: - Patch by Bart Jansen: 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"); I repeat: "This adds session support for anonymous users and fixes a bug/typo." --- includes/common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/common.inc') 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 .= " ". drupal_specialchars($description) ."\n"; $output .= " ". drupal_specialchars(strip_tags($language)) ."\n"; foreach ($args as $key => $value) { - $output .= "<$key>". drupal_specialchars(strip_tags($value)) .""; + $output .= " <$key>". drupal_specialchars(strip_tags($value)) ."\n"; } $output .= $items; $output .= "\n"; -- cgit v1.2.3