forked from ag_kommunikation/webseite
fix: Added missing error message for missing subject.
This commit is contained in:
parent
e2fa3f75cc
commit
92d2c37000
@ -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