mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-13 16:00:13 +00:00
Don't use isset.
This commit is contained in:
@@ -117,7 +117,7 @@ class NetWorth implements NetWorthInterface
|
|||||||
|
|
||||||
Log::debug(sprintf('Balance corrected to %s because of virtual balance (%s)', $balance, $virtualBalance));
|
Log::debug(sprintf('Balance corrected to %s because of virtual balance (%s)', $balance, $virtualBalance));
|
||||||
|
|
||||||
if (!isset($netWorth[$currencyId])) {
|
if (!array_key_exists($currencyId, $netWorth)) {
|
||||||
$netWorth[$currencyId] = '0';
|
$netWorth[$currencyId] = '0';
|
||||||
}
|
}
|
||||||
$netWorth[$currencyId] = bcadd($balance, $netWorth[$currencyId]);
|
$netWorth[$currencyId] = bcadd($balance, $netWorth[$currencyId]);
|
||||||
|
Reference in New Issue
Block a user