From 972acb7aa96daeefea64b605e2f3c5e05c3d38b0 Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 18 Nov 2022 14:27:43 -0700 Subject: [PATCH] Addressbook: Fix error due to missing template on mobile --- addressbook/inc/class.addressbook_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index d673e0b73e..8597cf0304 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -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'; }