mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
"fix for bug #821: Entry of private addressbook is shown as \"personal\" in view mode
also fixed not working private icon in the list"
This commit is contained in:
parent
86870ce4d7
commit
d5829fa68b
@ -1005,7 +1005,7 @@ class uicontacts extends bocontacts
|
||||
$icon = 'accounts';
|
||||
$label = lang('accounts');
|
||||
}
|
||||
elseif ($row['private'])
|
||||
elseif ($private)
|
||||
{
|
||||
$icon = 'private';
|
||||
$label = lang('private');
|
||||
@ -1493,6 +1493,10 @@ $readonlys['button[vcard]'] = true;
|
||||
$this->tmpl->set_cell_attribute($name,'no_lang',true);
|
||||
}
|
||||
}
|
||||
if ($this->private_addressbook && $content['private'] && $content['owner'] == $this->user)
|
||||
{
|
||||
$content['owner'] .= 'p';
|
||||
}
|
||||
// set id for automatic linking via quick add
|
||||
$GLOBALS['egw_info']['flags']['currentid'] = $content['id'];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user