-
-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
in this code on vendors/InfyOmLabs/generator-builder/controllers/GeneratorBuilderController.php ;
private function validateFields($fields)
{
$fieldsGroupBy = collect($fields)->groupBy(function ($item) {
return strtolower($item['name']);
});
$duplicateFields = $fieldsGroupBy->filter(function (Collection $groups) {
return $groups->count() > 1;
});
if (count($duplicateFields)) {
throw new \Exception('Duplicate fields are not allowed');
}
return true;
}
return error responseText: "{↵ "message": "Undefined index: name".
How to fix this?
Metadata
Metadata
Assignees
Labels
No labels