Addressbook: Fix error due to missing template on mobile

This commit is contained in:
nathan 2022-11-18 14:27:43 -07:00
parent fd8f688e8b
commit 972acb7aa9

View File

@ -291,7 +291,7 @@ class addressbook_ui extends addressbook_bo
}
// 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';
}