Update reminder in database.

This commit is contained in:
James Cole 2015-03-06 15:21:44 +01:00
parent fa07811375
commit 389fcc1c8d

View File

@ -14,7 +14,6 @@ use FireflyIII\Repositories\Account\AccountRepositoryInterface;
use FireflyIII\Repositories\PiggyBank\PiggyBankRepositoryInterface;
use Illuminate\Support\Collection;
use Input;
use Navigation;
use Redirect;
use Session;
use Steam;
@ -335,6 +334,7 @@ class PiggyBankController extends Controller
'targetamount' => floatval($request->get('targetamount')),
'targetdate' => strlen($request->get('targetdate')) > 0 ? new Carbon($request->get('targetdate')) : null,
'reminder' => $request->get('reminder'),
'remind_me' => $request->get('remind_me')
];
$piggyBank = $repository->update($piggyBank, $piggyBankData);