diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2006-08-14 04:17:50 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2006-08-14 04:17:50 +0000 |
commit | a054d4c4f7a5cc6f3cd6aec1fc8a4863f8d13506 (patch) | |
tree | 59e214160f500bf22b9e834c107eba3d17373587 /rss/rss2.0.php | |
parent | 77df8c358a260265c70344e412636abde8a91564 (diff) | |
download | phpicalendar-a054d4c4f7a5cc6f3cd6aec1fc8a4863f8d13506.tar.gz phpicalendar-a054d4c4f7a5cc6f3cd6aec1fc8a4863f8d13506.tar.bz2 phpicalendar-a054d4c4f7a5cc6f3cd6aec1fc8a4863f8d13506.zip |
fix for Bug 1526693
Diffstat (limited to 'rss/rss2.0.php')
-rw-r--r-- | rss/rss2.0.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rss/rss2.0.php b/rss/rss2.0.php index f009555..ae2e782 100644 --- a/rss/rss2.0.php +++ b/rss/rss2.0.php @@ -219,7 +219,9 @@ $uid_arr = array(); $rss .= '<link>'.$rss_link.'</link>'."\n";
$rss .= '<description>'.$rss_description.'</description>'."\n";
if (isset($val['location']) && $val['location'] !=''){
- $rss .= '<ev:location>'.$val['location']."</ev:location>\n";
+ $location = str_replace('&','&',$val['location']);
+ $location = str_replace('&amp;','&',$location);
+ $rss .= '<ev:location>'.$location."</ev:location>\n";
}
$rss .= '</item>'."\n";
$events_count++;
|