api enhancements

This commit is contained in:
Čarodej
2022-05-02 17:19:37 +02:00
parent c8ebb5db9f
commit c2d53479e8
6 changed files with 5 additions and 4 deletions

View File

@@ -476,7 +476,7 @@ if (! function_exists('make_single_input')) {
$data = [];
// Add data to array
$data[$request->name] = $request->value;
$data[$request->input('name')] = $request->input('value');
// Return input
return $data;