2
0
forked from Wavyzz/dolibarr

Fix warnings technical debt (#29907)

* fix warning

* Technical debt

* fix
This commit is contained in:
Mohamed DAOUD
2024-06-08 19:48:16 +02:00
committed by GitHub
parent b40bf1b768
commit 87a5a2ca12

View File

@@ -1254,7 +1254,7 @@ class ActionComm extends CommonObject
if (!empty($this->socpeopleassigned)) {
$already_inserted = array();
foreach (array_keys($this->socpeopleassigned) as $key => $val) {
foreach ($this->socpeopleassigned as $val) {
if (!is_array($val)) { // For backward compatibility when val=id
$val = array('id' => $val);
}