mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Fix warnings technical debt (#29907)
* fix warning * Technical debt * fix
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user