Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Renamed various fields from 'amount' to 'queryAmount' to prevent interfering with the getAmountAttribute property.
James Cole38516528216f
diff --git a/app/Support/Steam.php b/app/Support/Steam.phpindex 77c5dc1d16..591bba1db5 100644--- a/app/Support/Steam.php+++ b/app/Support/Steam.php@@ -67,8 +67,8 @@ class Steampublic function limitArray(array $array, $limit = 10){$others = [- 'name' => 'Others',- 'amount' => 0+ 'name' => 'Others',+ 'queryAmount' => 0];$return = [];$count = 0;@@ -76,7 +76,7 @@ class Steamif ($count < ($limit - 1)) {$return[$id] = $entry;} else {- $others['amount'] += $entry['amount'];+ $others['queryAmount'] += $entry['queryAmount'];}$count++;