From 72a0e705b44d4b1aed6e3ce1124022b25acbe4b5 Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Wed, 7 Dec 2005 07:26:14 +0000 Subject: bug fixes for event.php and others --- includes/event.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'includes') 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'] = ''.$event['location'].''; + if ($event['url'] != '') $event['location'] = ''.stripslashes($event['location']).''; +}else{ + $event['location'] = stripslashes($event['location']); } if (!$event['location'] && $event['url']) { -- cgit v1.2.3