Commit fd53cad2 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Save.php: error message was still empty - now the label name is really printed.

parent c56984e9
......@@ -439,7 +439,7 @@ class Save {
}
if (!$requiredOff && $mode == FE_MODE_REQUIRED && empty($clientValues[$formElement[FE_NAME]])) {
throw new UserFormException("Missing required value.", ERROR_REQUIRED_VALUE_EMPTY);
throw new UserFormException("Missing required value: " . $formElement[FE_LABEL], ERROR_REQUIRED_VALUE_EMPTY);
}
if ($mode == FE_MODE_HIDDEN) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment