We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
external_uuid
1 parent 33e7304 commit 0b0269aCopy full SHA for 0b0269a
library/Notifications/Web/Form/ContactForm.php
@@ -18,6 +18,7 @@
18
use ipl\Validator\EmailAddressValidator;
19
use ipl\Web\Common\CsrfCounterMeasure;
20
use ipl\Web\Compat\CompatForm;
21
+use Ramsey\Uuid\Uuid;
22
23
class ContactForm extends CompatForm
24
{
@@ -207,6 +208,7 @@ public function addOrUpdateContact()
207
208
209
$addressFromDb = [];
210
if ($this->contactId === null) {
211
+ $contact['external_uuid'] = Uuid::uuid4()->toString();
212
$this->db->insert('contact', $contact);
213
214
$this->contactId = $this->db->lastInsertId();
0 commit comments