🔧 use uniqid() instead of md5() to generate the cid

This commit is contained in:
Marc Michalsky forumZFD 2021-04-12 13:18:24 +02:00
parent cc6777e206
commit 794a68c781
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9

View file

@ -212,7 +212,7 @@ class CRM_TwingleCampaign_BAO_TwingleCampaign {
*/
private
function createCid() {
$this->values['cid'] = md5($this->id . '_' . $this->values['name']);
$this->values['cid'] = uniqid();
}