X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FRequest.php;h=0ab38f48986203118d9812f24f37001a955a5627;hb=73eef1d5f634decc9c241eebb7053d3630f7a199;hp=49b84ad8cd10d0499acc27288e7fea324d8a3d00;hpb=f50a46480237cfd098f82974f2b5bce930d211df;p=civicrm-core.git diff --git a/CRM/Utils/Request.php b/CRM/Utils/Request.php index 49b84ad8cd..0ab38f4898 100644 --- a/CRM/Utils/Request.php +++ b/CRM/Utils/Request.php @@ -43,7 +43,7 @@ class CRM_Utils_Request { */ public static function id() { if (!isset(\Civi::$statics[__CLASS__]['id'])) { - \Civi::$statics[__CLASS__]['id'] = uniqid() . CRM_Utils_String::createRandom(CRM_Utils_String::ALPHANUMERIC, 4); + \Civi::$statics[__CLASS__]['id'] = uniqid() . CRM_Utils_String::createRandom(4, CRM_Utils_String::ALPHANUMERIC); } return \Civi::$statics[__CLASS__]['id']; }