Skip to content

Commit 7ccbc60

Browse files
committed
Chaneg to ucfirst for Assetmodel -> AssetModel
Signed-off-by: snipe <[email protected]>
1 parent 2e340f9 commit 7ccbc60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Requests/ItemImportRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function import(Import $import)
3838

3939
$filename = config('app.private_uploads').'/imports/'.$import->file_path;
4040
$import->import_type = $this->input('import-type');
41-
$class = title_case($import->import_type);
41+
$class = ucfirst($import->import_type);
4242
$classString = "App\\Importer\\{$class}Importer";
4343
$importer = new $classString($filename);
4444
$import->field_map = request('column-mappings');

0 commit comments

Comments
 (0)