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

This commit is contained in:
Klaus Leithoff 2015-01-23 14:31:19 +00:00
parent d875c48dc7
commit 0d893f4c6e

View File

@ -1145,6 +1145,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();