mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
"fixed not working status change of participants of type email ('e')"
This commit is contained in:
parent
5e2aeca700
commit
50624e5929
@ -853,7 +853,10 @@ ORDER BY cal_user_type, cal_usre_id
|
|||||||
TENTATIVE => 'T',
|
TENTATIVE => 'T',
|
||||||
ACCEPTED => 'A'
|
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];
|
if (is_numeric($status)) $status = $status_code_short[$status];
|
||||||
|
|
||||||
@ -880,6 +883,8 @@ ORDER BY cal_user_type, cal_usre_id
|
|||||||
'cal_status' => $status,
|
'cal_status' => $status,
|
||||||
),$where,__LINE__,__FILE__,'calendar');
|
),$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();
|
return $this->db->affected_rows();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user