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 2e340f9 commit 7ccbc60Copy full SHA for 7ccbc60
app/Http/Requests/ItemImportRequest.php
@@ -38,7 +38,7 @@ public function import(Import $import)
38
39
$filename = config('app.private_uploads').'/imports/'.$import->file_path;
40
$import->import_type = $this->input('import-type');
41
- $class = title_case($import->import_type);
+ $class = ucfirst($import->import_type);
42
$classString = "App\\Importer\\{$class}Importer";
43
$importer = new $classString($filename);
44
$import->field_map = request('column-mappings');
0 commit comments