fix UniquId
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user