mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Renamed various fields from 'amount' to 'queryAmount' to prevent interfering with the getAmountAttribute property.
This commit is contained in:
parent
1d67d2250a
commit
3851652821
@ -68,7 +68,7 @@ class Steam
|
|||||||
{
|
{
|
||||||
$others = [
|
$others = [
|
||||||
'name' => 'Others',
|
'name' => 'Others',
|
||||||
'amount' => 0
|
'queryAmount' => 0
|
||||||
];
|
];
|
||||||
$return = [];
|
$return = [];
|
||||||
$count = 0;
|
$count = 0;
|
||||||
@ -76,7 +76,7 @@ class Steam
|
|||||||
if ($count < ($limit - 1)) {
|
if ($count < ($limit - 1)) {
|
||||||
$return[$id] = $entry;
|
$return[$id] = $entry;
|
||||||
} else {
|
} else {
|
||||||
$others['amount'] += $entry['amount'];
|
$others['queryAmount'] += $entry['queryAmount'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$count++;
|
$count++;
|
||||||
|
Loading…
Reference in New Issue
Block a user