"fixed wrong increment of row counter, as mentioned by sgelman(at)rtr.tu-darmstadt.de on the german list"

This commit is contained in:
Ralf Becker 2010-03-13 09:55:29 +00:00
parent 5b4f0076f2
commit 30f48939b8

View File

@ -1066,8 +1066,7 @@ class calendar_uiforms extends calendar_ui
'uid' => $member, 'uid' => $member,
'status' => 'G', 'status' => 'G',
); );
$readonlys[$row.'[quantity]'] = $readonlys["delete[$member]"] = true; $content['participants'][$row]['title'] =
$content['participants'][$row++]['title'] =
$GLOBALS['egw']->common->grab_owner_name($member); $GLOBALS['egw']->common->grab_owner_name($member);
// read access is enought to invite participants // read access is enought to invite participants
// but you edit rights to change status // but you edit rights to change status
@ -1079,6 +1078,7 @@ class calendar_uiforms extends calendar_ui
{ {
$readonlys[$row.'[quantity]'] = $readonlys["delete[$member]"] = true; $readonlys[$row.'[quantity]'] = $readonlys["delete[$member]"] = true;
} }
++$row;
} }
} }
} }