Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Update chart [skip ci]
James Cole369695ab32b8
diff --git a/app/Http/Controllers/GoogleChartController.php b/app/Http/Controllers/GoogleChartController.phpindex 871b4f0b84..9f88927e15 100644--- a/app/Http/Controllers/GoogleChartController.php+++ b/app/Http/Controllers/GoogleChartController.php@@ -176,9 +176,9 @@ class GoogleChartController extends Controllerforeach ($allEntries as $entry) {if ($entry[2] > 0) {$left = $entry[1] - $entry[2];- if ($left >= 0) {+ if ($left > 0) {$chart->addRow($entry[0], $left, null);- } else {+ } else if($left < 0) {$chart->addRow($entry[0], null, $left);}