mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 12:11:19 +00:00
Fix #1056
This commit is contained in:
@@ -308,7 +308,7 @@ class CsvProcessor implements FileProcessorInterface
|
||||
private function specifics(array $row): array
|
||||
{
|
||||
$config = $this->job->configuration;
|
||||
$names = array_keys($config['specifics']);
|
||||
$names = array_keys($config['specifics'] ?? []);
|
||||
foreach ($names as $name) {
|
||||
if (!in_array($name, $this->validSpecifics)) {
|
||||
throw new FireflyException(sprintf('"%s" is not a valid class name', $name));
|
||||
|
Reference in New Issue
Block a user