mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 09:38:23 +01:00
Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0
This commit is contained in:
@@ -15654,12 +15654,12 @@ function show_actions_messaging($conf, $langs, $db, $filterobj, $objcon = null,
|
||||
if (isset($histo[$key]['socpeopleassigned']) && is_array($histo[$key]['socpeopleassigned']) && count($histo[$key]['socpeopleassigned']) > 0) {
|
||||
$contactList = '';
|
||||
foreach ($histo[$key]['socpeopleassigned'] as $cid => $Tab) {
|
||||
if (empty($conf->cache['contact'][$histo[$key]['contact_id']])) {
|
||||
if (empty($conf->cache['contact'][$cid])) {
|
||||
$contact = new Contact($db);
|
||||
$contact->fetch($cid);
|
||||
$conf->cache['contact'][$histo[$key]['contact_id']] = $contact;
|
||||
$conf->cache['contact'][$cid] = $contact;
|
||||
} else {
|
||||
$contact = $conf->cache['contact'][$histo[$key]['contact_id']];
|
||||
$contact = $conf->cache['contact'][$cid];
|
||||
}
|
||||
|
||||
if ($contact) {
|
||||
|
||||
Reference in New Issue
Block a user