We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4391acb commit 0e786f6Copy full SHA for 0e786f6
src/Fieldset/Validator.php
@@ -30,8 +30,8 @@ class Validator
30
*/
31
public static function getCreateErrors(array $data, array $errors = [])
32
{
33
- if (!isset($data['Singular']) || empty($data['Singular'])) {
34
- $errors['Singular'] = 'Singular is required';
+ if (!isset($data['singular']) || empty($data['singular'])) {
+ $errors['singular'] = 'Singular is required';
35
}
36
37
if (!isset($data['plural']) || empty($data['plural'])) {
0 commit comments