diff --git a/application/Espo/Services/Record.php b/application/Espo/Services/Record.php index 7bb83f7111..2eaf4672bb 100644 --- a/application/Espo/Services/Record.php +++ b/application/Espo/Services/Record.php @@ -326,7 +326,7 @@ class Record extends \Espo\Core\Services\Base foreach ($ids as $id) { $entity = $this->getEntity($id); if ($this->getAcl()->check($entity, 'edit')) { - $entity->set($attributes); + $entity->set(get_object_vars($attributes)); if ($repository->save($entity)) { $idsUpdated[] = $id; }