mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-04 21:23:36 +00:00
Big refactor to remove the deprecated transaction collector.
This commit is contained in:
@@ -63,7 +63,7 @@ class GetAccountsHandler
|
||||
$request->call();
|
||||
$config['accounts'] = $request->accounts;
|
||||
$this->repository->setConfiguration($this->importJob, $config);
|
||||
if (0 === \count($config['accounts'])) {
|
||||
if (0 === count($config['accounts'])) {
|
||||
throw new FireflyException('This budget contains zero accounts.');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user