fix for bug #894: Reccurring events with setting interval drop participants

fix for problem reported in patch #906: problem when you edit a recurrent event
This commit is contained in:
Ralf Becker 2007-06-11 17:16:01 +00:00
parent dfcce2e0a3
commit 0535d5379c

View File

@ -813,12 +813,11 @@ ORDER BY cal_user_type, cal_usre_id
$this->db->insert($this->user_table,array( $this->db->insert($this->user_table,array(
'cal_status' => $status !== true ? $status{0} : 'U', 'cal_status' => $status !== true ? $status{0} : 'U',
'cal_quantity' => substr($status,1) ? substr($status,1) : 1, 'cal_quantity' => substr($status,1) ? substr($status,1) : 1,
'cal_recur_date' => $recur_date,
),array( ),array(
'cal_id' => $cal_id, 'cal_id' => $cal_id,
'cal_recur_date' => $recur_date,
'cal_user_type' => $type, 'cal_user_type' => $type,
'cal_user_id' => $id, 'cal_user_id' => $id,
),__LINE__,__FILE__); ),__LINE__,__FILE__);
} }
} }