mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Point account links to addressbook view
This commit is contained in:
parent
0d66dd98b7
commit
065fd1a772
@ -1964,7 +1964,8 @@ class addressbook_ui extends addressbook_bo
|
||||
}
|
||||
else
|
||||
{
|
||||
if(!$_GET['contact_id'] || !is_array($content = $this->read($_GET['contact_id'])))
|
||||
$contact_id = $_GET['contact_id'] ? $_GET['contact_id'] : ((int)$_GET['account_id'] ? 'account:'.(int)$_GET['account_id'] : 0);
|
||||
if(!$contact_id || !is_array($content = $this->read($contact_id)))
|
||||
{
|
||||
egw::redirect_link('/index.php',array(
|
||||
'menuaction' => 'addressbook.addressbook_ui.index',
|
||||
|
@ -124,6 +124,8 @@ class egw_link extends solink
|
||||
'icon' => 'addressbook/accounts',
|
||||
'query' => 'accounts::link_query',
|
||||
'title' => 'common::grab_owner_name',
|
||||
'view' => array('menuaction'=>'addressbook.addressbook_ui.view'),
|
||||
'view_id' => 'account_id'
|
||||
),
|
||||
);
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user