float > string.

This commit is contained in:
James Cole 2016-02-08 21:09:00 +01:00
parent 7679721007
commit 905ae3437b

View File

@ -274,7 +274,7 @@ class PiggyBankController extends Controller
$repetition->save();
// create event
$repository->createEvent($piggyBank, $amount * -1);
$repository->createEvent($piggyBank, bcmul($amount, '-1'));
Session::flash('success', 'Removed ' . Amount::format($amount, false) . ' from "' . e($piggyBank->name) . '".');
Preferences::mark();