mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Small bug fix in map / roles.
This commit is contained in:
@@ -235,7 +235,7 @@ class Map implements ConfigurationInterface
|
||||
{
|
||||
// run specifics here:
|
||||
// and this is the point where the specifix go to work.
|
||||
$names = array_keys($this->configuration['specifics']);
|
||||
$names = array_keys($this->job->configuration['specifics']);
|
||||
foreach ($names as $name) {
|
||||
if (!in_array($name, $this->validSpecifics)) {
|
||||
throw new FireflyException(sprintf('"%s" is not a valid class name', $name));
|
||||
|
@@ -228,7 +228,7 @@ class Roles implements ConfigurationInterface
|
||||
*/
|
||||
private function processSpecifics(array $row): array
|
||||
{
|
||||
$names = array_keys($this->configuration['specifics']);
|
||||
$names = array_keys($this->job->configuration['specifics']);
|
||||
foreach ($names as $name) {
|
||||
/** @var SpecificInterface $specific */
|
||||
$specific = app('FireflyIII\Import\Specifics\\' . $name);
|
||||
|
Reference in New Issue
Block a user