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/rss1.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/rss1.0.php')
-rwxr-xr-x | rss/rss1.0.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rss/rss1.0.php b/rss/rss1.0.php index deceab4..366f15d 100755 --- a/rss/rss1.0.php +++ b/rss/rss1.0.php @@ -216,7 +216,9 @@ $uid_arr = array(); $rss_items .= '<link>'.$rss_link.'</link>'."\n";
$rss_items .= '<description>'.$rss_description.'</description>'."\n";
if (isset($val['location']) && $val['location'] !=''){
- $rss_items .= '<ev:location>'.$val['location']."</ev:location>\n";
+ $location = str_replace('&','&',$val['location']);
+ $location = str_replace('&amp;','&',$location);
+ $rss_items .= '<ev:location>'.$location."</ev:location>\n";
}
$rss_items .= '</item>'."\n";
$events_count++;
|