mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
SF #415143 - Fixed selecting a different users calendar and it removing the current user
This commit is contained in:
parent
553a7ac66f
commit
16954060aa
@ -43,6 +43,8 @@
|
||||
{
|
||||
if($grants[$owner])
|
||||
{
|
||||
$grants[$phpgw_info['user']['account_id']] = PHPGW_ACL_READ + PHPGW_ACL_ADD + PHPGW_ACL_EDIT + PHPGW_ACL_DELETE + PHPGW_ACL_PRIVATE;
|
||||
|
||||
$rights = $grants[$owner];
|
||||
if ($rights == 0)
|
||||
{
|
||||
|
@ -126,6 +126,7 @@
|
||||
<option value="<?php echo $grantor; ?>"<?php if($grantor==$owner) echo ' selected'; ?>><?php echo $phpgw->common->grab_owner_name($grantor); ?></option>
|
||||
<?php
|
||||
}
|
||||
reset($grants);
|
||||
?>
|
||||
</select>
|
||||
<NOSCRIPT><INPUT TYPE="submit" VALUE="<?php echo lang('Go!'); ?>"></NOSCRIPT></FONT>
|
||||
|
Loading…
Reference in New Issue
Block a user