mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
* Calendar/CalDAV/eSync: fixed recuring events were returned in sync, even if user rejected (after recent database schema changes)
This commit is contained in:
parent
0af9ed0cd9
commit
fba3bda918
@ -544,8 +544,8 @@ class calendar_so
|
||||
" ON $this->cal_table.cal_id=rejected_by_user.cal_id".
|
||||
" AND rejected_by_user.cal_user_type='u'".
|
||||
" AND rejected_by_user.cal_user_id=".$this->db->quote($remove_rejected_by_user).
|
||||
" AND (recur_type IS NULL AND rejected_by_user.cal_recur_date=0".
|
||||
($params['enum_recuring'] ? " OR cal_start=rejected_by_user.cal_recur_date" : '').')';
|
||||
" AND ".(!$params['enum_recuring'] ? 'rejected_by_user.cal_recur_date=0' :
|
||||
'(recur_type IS NULL AND rejected_by_user.cal_recur_date=0 OR cal_start=rejected_by_user.cal_recur_date)');
|
||||
$or_required = array(
|
||||
'rejected_by_user.cal_status IS NULL',
|
||||
"rejected_by_user.cal_status NOT IN ('R','X')",
|
||||
|
Loading…
Reference in New Issue
Block a user