mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
fix phan
This commit is contained in:
parent
456811c97b
commit
1e43b2f836
|
|
@ -1348,7 +1348,9 @@ if (count($listofextcals)) {
|
|||
$userstatic = new User($db);
|
||||
$userId = $userstatic->findUserIdByEmail($namecal);
|
||||
if (!empty($userId) && $userId > 0) {
|
||||
$event->userassigned[$userId] = $userId;
|
||||
$event->userassigned[$userId] = [
|
||||
'id' => $userId,
|
||||
];
|
||||
$event->percentage = -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user