mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-29 02:11:12 -06:00
Make strval for bcadd [skip ci]
This commit is contained in:
parent
bea075c74d
commit
8f0856e31a
@ -238,7 +238,7 @@ class PiggyBankController extends Controller
|
||||
|
||||
if ($amount <= $maxAmount) {
|
||||
$repetition = $piggyBank->currentRelevantRep();
|
||||
$repetition->currentamount = bcadd($repetition->currentamount, $amount);
|
||||
$repetition->currentamount = bcadd($repetition->currentamount, strval($amount));
|
||||
$repetition->save();
|
||||
|
||||
// create event
|
||||
|
Loading…
Reference in New Issue
Block a user