From 362f97fb5b96ba14cf2c9b92de9047b9eee24596 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Fri, 23 Jan 2015 14:30:00 +0000 Subject: [PATCH] add default cat (set in pref) to infologs that are created from mails --- infolog/inc/class.infolog_bo.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/infolog/inc/class.infolog_bo.inc.php b/infolog/inc/class.infolog_bo.inc.php index aec5c827fa..d8507d0cde 100644 --- a/infolog/inc/class.infolog_bo.inc.php +++ b/infolog/inc/class.infolog_bo.inc.php @@ -1170,6 +1170,7 @@ class infolog_bo 'to_id' => 0, ), ); + if ($GLOBALS['egw_info']['user']['preferences']['infolog']['cat_add_default']) $info['info_cat'] = $GLOBALS['egw_info']['user']['preferences']['infolog']['cat_add_default']; // find the addressbookentry to link with $addressbook = new addressbook_bo(); $contacts = array();