Changeset 583 for trunk/calendar/inc/class.bocalendar.inc.php
- Timestamp:
- 01/08/09 16:11:54 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/inc/class.bocalendar.inc.php
r582 r583 867 867 $this->fix_update_time($l_start); 868 868 $this->fix_update_time($l_end); 869 870 if(!isset($l_cal['private']))871 {872 $l_cal['private'] = 'public';873 }874 869 if(!isset($l_cal['ex_participants'])) 875 870 { … … 882 877 } 883 878 884 $is_public = ( int)(isset($l_cal['public']) ? $l_cal['public'] : $l_cal['private'] == 'public');879 $is_public = ($l_cal['type'] != 'private'); 885 880 $this->so->event_init(); 886 881 $this->add_attribute('uid',$l_cal['uid']); 882 $this->add_attribute('type',$l_cal['type']); 887 883 if($l_cal['ex_participants']) { 888 884 $this->add_attribute('ex_participants',$l_cal['ex_participants']);
Note: See TracChangeset
for help on using the changeset viewer.