fix massUpdate

This commit is contained in:
Yuri Kuznetsov
2014-03-07 16:58:50 +02:00
parent 34c6aed886
commit e27901aec6
+1 -1
View File
@@ -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;
}