add default cat (set in pref) to infologs that are created from mails

This commit is contained in:
Klaus Leithoff 2015-01-23 14:25:40 +00:00
parent 8185324061
commit 628b875bfb

View File

@ -1170,6 +1170,7 @@ class infolog_bo
'to_id' => 0, '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 // find the addressbookentry to link with
$addressbook = new addressbook_bo(); $addressbook = new addressbook_bo();
$contacts = array(); $contacts = array();