mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Update configuration and fix some files.
This commit is contained in:
@@ -122,7 +122,7 @@ class UpgradesLiabilities extends Command
|
||||
{
|
||||
$source = $this->getSourceTransaction($openingBalance);
|
||||
$destination = $this->getDestinationTransaction($openingBalance);
|
||||
if (null === $source || null === $destination) {
|
||||
if (!$source instanceof Transaction || !$destination instanceof Transaction) {
|
||||
return;
|
||||
}
|
||||
// source MUST be the liability.
|
||||
|
Reference in New Issue
Block a user