mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-01 04:13:28 +01:00
"fixed wrong increment of row counter, as mentioned by sgelman(at)rtr.tu-darmstadt.de on the german list"
This commit is contained in:
parent
5b4f0076f2
commit
30f48939b8
@ -1066,19 +1066,19 @@ class calendar_uiforms extends calendar_ui
|
||||
'uid' => $member,
|
||||
'status' => 'G',
|
||||
);
|
||||
$readonlys[$row.'[quantity]'] = $readonlys["delete[$member]"] = true;
|
||||
$content['participants'][$row++]['title'] =
|
||||
$content['participants'][$row]['title'] =
|
||||
$GLOBALS['egw']->common->grab_owner_name($member);
|
||||
// read access is enought to invite participants
|
||||
// but you edit rights to change status
|
||||
if (!$this->bo->check_perms(EGW_ACL_EDIT,0,$member))
|
||||
{
|
||||
$readonlys[$row.'[quantity]'] = $readonlys["delete[$member]"] =$readonlys[$row]['status']= true;
|
||||
$readonlys[$row.'[quantity]'] = $readonlys["delete[$member]"] = $readonlys[$row]['status']= true;
|
||||
}
|
||||
else
|
||||
{
|
||||
$readonlys[$row.'[quantity]'] = $readonlys["delete[$member]"] = true;
|
||||
}
|
||||
++$row;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user