mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Addressbook: Fix error due to missing template on mobile
This commit is contained in:
parent
fd8f688e8b
commit
972acb7aa9
@ -291,7 +291,7 @@ class addressbook_ui extends addressbook_bo
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Organisation stuff is not (yet) availible with ldap
|
// Organisation stuff is not (yet) availible with ldap
|
||||||
if($GLOBALS['egw_info']['server']['contact_repository'] != 'ldap')
|
if($GLOBALS['egw_info']['server']['contact_repository'] != 'ldap' && Api\Header\UserAgent::mobile() == '')
|
||||||
{
|
{
|
||||||
$content['nm']['header_left'] = 'addressbook.index.left';
|
$content['nm']['header_left'] = 'addressbook.index.left';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user