fix: Added missing error message for missing subject.
This commit is contained in:
parent
da1d6d7b36
commit
6f41ebe635
@ -58,6 +58,8 @@ function prepare_response() {
|
||||
if (empty($_POST['name'])) {
|
||||
$response['errors'][] = 'Sie haben keinen Namen eingegeben.';
|
||||
}
|
||||
if (empty($_POST['subject'])) {
|
||||
$response['errors'][] = 'Sie haben keinen Betreff eingegeben.';
|
||||
}
|
||||
/**
|
||||
* Idee zur Bot-Erkennung:
|
||||
|
Loading…
Reference in New Issue
Block a user