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/rss1.0.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rss/rss1.0.php') diff --git a/rss/rss1.0.php b/rss/rss1.0.php index 78c5491..813b368 100755 --- a/rss/rss1.0.php +++ b/rss/rss1.0.php @@ -19,7 +19,7 @@ function rss_top(){ xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">'."\n"; - $rss .= 'default_path.'/rss/rss.php/'; if (isset($cpath) && $cpath !='') $rss_link.="?cpath=$cpath"; $rss .='">'."\n"; @@ -48,8 +48,8 @@ function rss_item(){ # $rss .= ''.$rss_link.$uid.''."\n"; /* End guid modification */ $rss_item .= ''.$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_item .= ''.$rss_link.''."\n"; $rss_item .= ''.$rss_description.''."\n"; -- cgit v1.2.3