From 9b00469b471a8b159c60ecca333f0f7064ba1d27 Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Sat, 20 Dec 2008 03:22:54 +0000 Subject: misc error warnings and notices --- rss/rss2.0.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rss/rss2.0.php') diff --git a/rss/rss2.0.php b/rss/rss2.0.php index 05ac5ba..f80dbee 100644 --- a/rss/rss2.0.php +++ b/rss/rss2.0.php @@ -37,7 +37,7 @@ function rss_top(){ if ($theview !=""){$rss .= ' - '.$theview;} $rss .= "\n"; - $rss .= ''.$default_path.'/rss/rss2.0.php/'; + $rss .= ''.$phpiCal_config->default_path.'/rss/rss2.0.php/'; if (isset($cpath) && $cpath !='') $rss_link.="?cpath=$cpath"; $rss .=''."\n"; $rss .= ''.$cal_displayname.' '.$lang['l_calendar'].' - '.$theview.''."\n"; @@ -60,8 +60,8 @@ function rss_item(){ $rss .= ''.$rss_link.'&uid='.$uid.''."\n"; /* End guid modification */ $rss .= ''.$rss_title.''."\n"; - $rss .= ''.date("Y-m-d\TH:i:s", $val["start_unixtime"]).''."\n"; - $rss .= ''.date("Y-m-d\TH:i:s", $val["end_unixtime"]).''."\n"; + $rss .= ''.date("Y-m-d\TH:i:s", @$val["start_unixtime"]).''."\n"; + $rss .= ''.date("Y-m-d\TH:i:s", @$val["end_unixtime"]).''."\n"; $rss .= ''.$rss_link.''."\n"; $rss .= ''.$rss_description.''."\n"; -- cgit v1.2.3