diff options
-rw-r--r-- | includes/event.php | 4 | ||||
-rw-r--r-- | year.php | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/includes/event.php b/includes/event.php index 9ae0a93..2d855fa 100644 --- a/includes/event.php +++ b/includes/event.php @@ -50,7 +50,9 @@ if (is_array($attendee)) { } if ($event['location']) { - if ($event['url'] != '') $event['location'] = '<a href="'.$event['url'].'" target="_blank">'.$event['location'].'</a>'; + if ($event['url'] != '') $event['location'] = '<a href="'.$event['url'].'" target="_blank">'.stripslashes($event['location']).'</a>'; +}else{ + $event['location'] = stripslashes($event['location']); } if (!$event['location'] && $event['url']) { @@ -33,7 +33,6 @@ $page->replace_tags(array( 'getdate' => $getdate, 'calendar_name' => $cal_displayname, 'display_date' => $this_year, - 'default_path' => '', 'rss_powered' => $rss_powered, 'rss_available' => '', 'rss_valid' => '', |