EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Change generateId
Yuriie0f0c1b6c7ed
diff --git a/application/Espo/Core/Utils/Util.php b/application/Espo/Core/Utils/Util.phpindex b7e4471828..6b88a3d49f 100644--- a/application/Espo/Core/Utils/Util.php+++ b/application/Espo/Core/Utils/Util.php@@ -576,7 +576,7 @@ class Util*/public static function generateId(): string{- return uniqid() . substr(md5((string) rand()), 0, 4);+ return substr(bin2hex(random_bytes(9)), 0, 17);}/**