aboutsummaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2005-12-07 07:26:14 +0000
committerJim Hu <jimhu@users.sourceforge.net>2005-12-07 07:26:14 +0000
commit72a0e705b44d4b1aed6e3ce1124022b25acbe4b5 (patch)
tree367c9638608fe735ded6f985e32dbb9ff677f0d6 /includes
parent6e65385370e1b1ea92f522119ebd1725c3a5d29c (diff)
downloadphpicalendar-72a0e705b44d4b1aed6e3ce1124022b25acbe4b5.tar.gz
phpicalendar-72a0e705b44d4b1aed6e3ce1124022b25acbe4b5.tar.bz2
phpicalendar-72a0e705b44d4b1aed6e3ce1124022b25acbe4b5.zip
bug fixes for event.php and others
Diffstat (limited to 'includes')
-rw-r--r--includes/event.php4
1 files changed, 3 insertions, 1 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']) {

© 2014-2022 Faster IT GmbH | imprint | privacy policy