mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
"fixed not working status change of participants of type email ('e')"
This commit is contained in:
parent
3687395dab
commit
9d55dfa69e
@ -856,7 +856,10 @@ ORDER BY cal_user_type, cal_usre_id
|
||||
TENTATIVE => 'T',
|
||||
ACCEPTED => 'A'
|
||||
);
|
||||
if (!(int)$cal_id || !(int)$user_id) return false;
|
||||
if (!(int)$cal_id || !(int)$user_id && $user_type != 'e')
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (is_numeric($status)) $status = $status_code_short[$status];
|
||||
|
||||
@ -883,6 +886,8 @@ ORDER BY cal_user_type, cal_usre_id
|
||||
'cal_status' => $status,
|
||||
),$where,__LINE__,__FILE__,'calendar');
|
||||
}
|
||||
$ret = $this->db->affected_rows();
|
||||
error_log(__METHOD__."($cal_id,$user_type,$user_id,$status,$recur_date) = $ret");
|
||||
return $this->db->affected_rows();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user