[Tickets #924] NEW: warning importing iCalendar file with EXDATE fields

bugs at bugs.horde.org bugs at bugs.horde.org
Wed Dec 1 04:43:19 PST 2004


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=924
-----------------------------------------------------------------------
 Ticket     | 924
 Created By | srrafa at usc.es
 Summary    | warning importing iCalendar file with EXDATE fields
 Queue      | Horde Framework Packages
 State      | Unconfirmed
 Priority   | 1. Low
 Type       | Bug
 Owners     | 
-----------------------------------------------------------------------


srrafa at usc.es (2004-12-01 04:43) wrote:

When importing an .ics file that contains an EXDATE field, the event is
imported succesfully but this warning is shown in the screen:

Notice: Array to string conversion in
/var/www/horde-3.0-rc2/lib/Horde/iCalendar.php on line 976

The same happens when I add a remote calendar.

This line is in the parseDate function (the strlen command)

function _parseDate($text)
    {
        if (strlen($text) != 8) {
            return false;
        }

        $date['year']  = intval(substr($text, 0, 4));
        $date['month'] = intval(substr($text, 4, 2));
        $date['mday']  = intval(substr($text, 6, 2));

        return $date;
    }






More information about the bugs mailing list