Fixes dates in events' ical.
authorStéphane Jacob <sj@m4x.org>
Sun, 6 Nov 2011 12:09:57 +0000 (13:09 +0100)
committerStéphane Jacob <sj@m4x.org>
Sun, 6 Nov 2011 12:09:57 +0000 (13:09 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/xnetevents/xnetevents.inc.php

index acdfa56..69f9163 100644 (file)
@@ -322,7 +322,6 @@ function make_event_date(&$e)
     $end       = strtotime($e['fin']);
     $first_day = @strtotime($e['first_day']);
     $last_day  = strtotime($e['last_day']);
     $end       = strtotime($e['fin']);
     $first_day = @strtotime($e['first_day']);
     $last_day  = strtotime($e['last_day']);
-    unset($e['debut'], $e['fin'], $e['first_day'], $e['last_day']);
 
     $date = "";
     if ($start && $end != $start) {
 
     $date = "";
     if ($start && $end != $start) {