mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-29 22:51:07 -08:00
Chaneg to ucfirst for Assetmodel -> AssetModel
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
2e340f9a23
commit
7ccbc60ec0
|
@ -38,7 +38,7 @@ class ItemImportRequest extends FormRequest
|
|||
|
||||
$filename = config('app.private_uploads').'/imports/'.$import->file_path;
|
||||
$import->import_type = $this->input('import-type');
|
||||
$class = title_case($import->import_type);
|
||||
$class = ucfirst($import->import_type);
|
||||
$classString = "App\\Importer\\{$class}Importer";
|
||||
$importer = new $classString($filename);
|
||||
$import->field_map = request('column-mappings');
|
||||
|
|
Loading…
Reference in a new issue