Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 22.0

This commit is contained in:
Laurent Destailleur
2025-10-24 19:39:15 +02:00
11 changed files with 34 additions and 26 deletions

View File

@@ -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) {