Compare commits
2 Commits
ae3a653de4
...
bc8ddbff4c
Author | SHA1 | Date | |
---|---|---|---|
bc8ddbff4c | |||
ae554ab0a6 |
@ -38,7 +38,7 @@ class AdminController
|
||||
if (strpos($value, "*") !== false && (!isset($_POST[$index]) || empty($_POST[$index]))) {
|
||||
$this->errors[$index] = "Bitte " . $value . " eingeben";
|
||||
} else {
|
||||
$this->validData[$index] = $_POST[$index];
|
||||
$this->validData[$index] = $_POST[$index] === '' ? null : $_POST[$index];
|
||||
}
|
||||
}
|
||||
if (count($this->errors) > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user