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

This commit is contained in:
Klaus Leithoff 2015-01-23 14:28:23 +00:00
parent a7c4688e01
commit 2147be51bc

View File

@ -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();