mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Another fix for #1092
This commit is contained in:
parent
a1b83def4f
commit
3ce5ccb98a
@ -246,7 +246,8 @@ 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->job->configuration['specifics']);
|
$specifics = $this->job->configuration['specifics'] ?? [];
|
||||||
|
$names = array_keys($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));
|
||||||
|
Loading…
Reference in New Issue
Block a user