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

This commit is contained in:
Klaus Leithoff 2015-01-23 14:30:00 +00:00
parent ddd37756a2
commit 362f97fb5b

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