diff options
Diffstat (limited to 'includes/event.php')
-rw-r--r-- | includes/event.php | 5 |
1 files changed, 3 insertions, 2 deletions
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']); |