From e3ce63d1406a343d7295995d3f2fbfad9e12b608 Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Wed, 5 Apr 2006 04:43:59 +0000 Subject: changes to event popup so that reparsing not needed --- includes/event.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'includes') diff --git a/includes/event.php b/includes/event.php index df47bf7..af00fcc 100644 --- a/includes/event.php +++ b/includes/event.php @@ -2,7 +2,7 @@ define('BASE', '../'); $getdate = $_POST['date']; include_once(BASE.'functions/init.inc.php'); -include_once(BASE.'functions/ical_parser.php'); +#include_once(BASE.'functions/ical_parser.php'); require_once(BASE.'functions/template.php'); function decode_popup ($item) { @@ -13,7 +13,8 @@ function decode_popup ($item) { -$event = $master_array[$_POST['date']][$_POST['time']][decode_popup($_POST['uid'])]; +#$event = $master_array[$_POST['date']][$_POST['time']][decode_popup($_POST['uid'])]; +$event = unserialize(stripslashes($_POST['event_data'])); $organizer = unserialize($event['organizer']); $attendee = unserialize($event['attendee']); -- cgit v1.2.3