Skip to content

Commit be671eb

Browse files
authored
Update README.md
1 parent 40702bf commit be671eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ To add custom fields (e.g. subject, phone number) :
101101
2. Handle them in `AjaxForm.php` :
102102

103103
```php
104-
$subject = $_POST['subject'] ?? '';
104+
$subject = sanitize($_POST['subject']) ?? '';
105105
```
106106

107-
3. Include them in the email body or validation as needed.
107+
3. Include them in the email body and validation.
108108

109109
---
110110

0 commit comments

Comments
 (0)