try to resolve the icalsrv calendar update problem regarding the etag

This commit is contained in:
Klaus Leithoff 2008-04-03 11:57:12 +00:00
parent ff0c609b7f
commit 62c3d6c967

View File

@ -488,7 +488,7 @@ ORDER BY cal_user_type, cal_usre_id
// while saving handle the etag as condition for the update, to check if an entry was saved before this action occured
$check_etag = ($check_modified ? $check_modified : $event['cal_etag']);
if ($cal_id && $check_etag /*&& $check_modified*/)
if ($cal_id && $check_etag && $check_modified)
{
//$event2update[]= 'cal_etag=cal_etag+1';
$event2update['cal_etag']= $event['cal_etag']=$check_etag+1;