Changeset 582
- Timestamp:
- 01/08/09 15:59:21 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/inc/class.bocalendar.inc.php
r386 r582 2610 2610 function create_vcard($event_array) 2611 2611 { 2612 if(! $event_array)2612 if(!is_array($event_array)) 2613 2613 return null; 2614 2614 $tmpattach="BEGIN:VCALENDAR\n" … … 2618 2618 { 2619 2619 // It translates int to string 2620 if (!is_object($event) ||!is_array($event) || !array_key_exists ('end', $event))2620 if (!is_object($event) && !is_array($event) || !array_key_exists ('end', $event)) 2621 2621 $event = $event_array; 2622 2622 if ( $event['end']['month'] < 10 )
Note: See TracChangeset
for help on using the changeset viewer.