PHP Classes

iCalCreator

Recommend this page to a friend!

      iCalCreator  >  All threads  >  iCalCreator  >  (Un) Subscribe thread alerts  
Subject:iCalCreator
Summary:Error Microsoft Outlook 2003
Messages:2
Author:Martin Hurm
Date:2008-06-05 10:17:24
Update:2008-11-28 12:56:24
 

  1. iCalCreator   Reply   Report abuse  
Picture of Martin Hurm Martin Hurm - 2008-06-05 10:17:24
Hi,

when using the iCalCreator with Outlook 2003, there is an error importing the ics file if you have empty contents.
For example if you don't have choose a location the _createElement function will make a line like this
LOCATION
This will cause an error importing in Outlook 2003.
If the line is like this
LOCATION:
you can import it without problem. I have changed the function _createElement line 3903 from
$output .= $this->elementStart2;
in
$output .= $this->valueInit.$this->elementStart2;

Hope I could some people

  2. Re: iCalCreator   Reply   Report abuse  
Picture of Kjell-Inge Gustafsson Kjell-Inge Gustafsson - 2008-11-28 12:56:25 - In reply to message 1 from Martin Hurm
Using
$calendar->setConfig( "allowEmpty", FALSE );
will prevent all empty properties.