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