fix UniquId

This commit is contained in:
yuri
2018-09-10 10:29:34 +03:00
parent b49679eb90
commit 2a20766912
+1 -1
View File
@@ -44,7 +44,7 @@ class UniqueId extends \Espo\Core\ORM\Repositories\RDB
protected function getNewEntity()
{
$entity = parent::getNewEntity();
$entity->set('name', uniqid());
$entity->set('name', \Espo\Core\Utils\Util::generateId());
return $entity;
}
}