Menu

#677 event.php issue?

v2.4
open-works-for-me
nobody
None
9
2012-11-26
2012-11-17
JCWEB
No

In the file includes/event.php for the event download (in my file lines 102 and 103 shows:
DTSTART;TZID=".$event['timezone'].":".date("Ymd\THis",$event['start_unixtime'])."
DTEND;TZID=".$event['timezone'].":".date("Ymd\THis",$event['start_unixtime'])."

If i download now a single event in the popup window, the start and end time shows the same time. I edit line 103 and change start_unixtime to end_unixtime and now it shows and works for me

DTSTART;TZID=".$event['timezone'].":".date("Ymd\THis",$event['start_unixtime'])."
DTEND;TZID=".$event['timezone'].":".date("Ymd\THis",$event['end_unixtime'])."

Greets

Discussion

  • JCWEB

    JCWEB - 2012-11-26
    • priority: 5 --> 9
    • status: open --> open-works-for-me
     
  • JCWEB

    JCWEB - 2012-11-26

    Another issue when download a event i found. In line 93 ich change from

    header("Content-Disposition: attachment; filename=$uid");

    to

    header("Content-Disposition: inline; filename=$uid.ics");

    Otherwise the Internet Explorer 8,9 open a file without mimetype and cannot open. With my fix a file will save with *.ics in every browser.

     
  • JCWEB

    JCWEB - 2012-11-26

    Thanks for submitting this bug. We'd like to invegtigate it but we'll need more
    information. Please submit a sample calendar, your PHP build and Server,
    and what program you are using to generate the ics file.

    Thanks.

     

Log in to post a comment.