Skip to content

Firefly III: a personal finances manager

Another fix for #1092

James Cole3ce5ccb98ad1
diff --git a/app/Support/Import/Configuration/File/Map.php b/app/Support/Import/Configuration/File/Map.php
index ec54b7315d..6da53f669a 100644
--- a/app/Support/Import/Configuration/File/Map.php
+++ b/app/Support/Import/Configuration/File/Map.php
@@ -246,7 +246,8 @@ class Map implements ConfigurationInterface
{
// run specifics here:
// and this is the point where the specifix go to work.
- $names = array_keys($this->job->configuration['specifics']);
+ $specifics = $this->job->configuration['specifics'] ?? [];
+ $names = array_keys($specifics);
foreach ($names as $name) {
if (!in_array($name, $this->validSpecifics)) {
throw new FireflyException(sprintf('"%s" is not a valid class name', $name));