mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Some array_keys fixes.
This commit is contained in:
@@ -424,7 +424,8 @@ class ImportController extends Controller
|
||||
$type = strtolower($job->file_type);
|
||||
|
||||
// validate type:
|
||||
$validTypes = array_keys('firefly.import_formats');
|
||||
$validTypes = array_keys(config('firefly.import_formats'));
|
||||
|
||||
|
||||
if (in_array($type, $validTypes)) {
|
||||
/** @var SetupInterface $importer */
|
||||
|
||||
Reference in New Issue
Block a user