Skip to content

Firefly III: a personal finances manager

Fix a sum for #129

James Colefe4f1b306d77
diff --git a/app/Helpers/Collection/BalanceLine.php b/app/Helpers/Collection/BalanceLine.php
index 50b1d6313a..a5e48efae1 100644
--- a/app/Helpers/Collection/BalanceLine.php
+++ b/app/Helpers/Collection/BalanceLine.php
@@ -113,7 +113,7 @@ class BalanceLine
$start = $this->getRepetition() ? $this->getRepetition()->amount : 0;
/** @var BalanceEntry $balanceEntry */
foreach ($this->getBalanceEntries() as $balanceEntry) {
- $start -= $balanceEntry->getSpent();
+ $start += $balanceEntry->getSpent();
}
return $start;