mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fixed all problems related to strict types.
This commit is contained in:
@@ -66,7 +66,7 @@ class JsonController extends Controller
|
||||
if ($creditCardDue >= 0) {
|
||||
$amount = bcadd($amount, $creditCardDue);
|
||||
}
|
||||
$amount = $amount * -1;
|
||||
$amount = bcmul($amount,'-1');
|
||||
|
||||
$data = ['box' => 'bills-paid', 'amount' => Amount::format($amount, false), 'amount_raw' => $amount];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user