From 628b875bfb42740a28114108a9fbcad8950318ca Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Fri, 23 Jan 2015 14:25:40 +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();