Added a missing field.

This commit is contained in:
James Cole 2015-01-05 20:20:03 +01:00
parent ce4a2a5851
commit 0dff371e62

View File

@ -273,10 +273,11 @@ class PiggyBankController extends BaseController
*/
public function store()
{
$data = Input::all();
$data['repeats'] = 0;
$data['user_id'] = Auth::user()->id;
$data['rep_every'] = 0;
$data = Input::all();
$data['repeats'] = 0;
$data['user_id'] = Auth::user()->id;
$data['rep_every'] = 0;
$data['reminder skip'] = 0;
// always validate: