mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-26 15:21:37 +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,
|
'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
|
||||||
if (!$this->bo->check_perms(EGW_ACL_EDIT,0,$member))
|
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
|
else
|
||||||
{
|
{
|
||||||
$readonlys[$row.'[quantity]'] = $readonlys["delete[$member]"] = true;
|
$readonlys[$row.'[quantity]'] = $readonlys["delete[$member]"] = true;
|
||||||
}
|
}
|
||||||
|
++$row;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user