From 84386ade014e26f977ef270cf1ff1d3386a60ea1 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Fri, 16 Dec 2011 11:23:55 +0000 Subject: [PATCH] control the availabilityof the stylite app, before trying to offer the mail VCard feature, because stylite.links:// is used/needed here --- 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 2e44c52597..688c159b50 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -587,7 +587,7 @@ class addressbook_ui extends addressbook_bo $this->prefs['document_dir'], $group, 'Insert in document', 'document_', $this->prefs['default_document'], $this->config['contact_export_limit'] ); - if ($GLOBALS['egw_info']['user']['apps']['felamimail']) + if (isset($GLOBALS['egw_info']['apps']['stylite']) && $GLOBALS['egw_info']['user']['apps']['felamimail']) { $actions['mail'] = array( 'caption' => lang('Mail VCard'),