Fixed the preselected piggy bank

This commit is contained in:
James Cole 2014-11-26 21:11:13 +01:00
parent c8038e0774
commit 72068a4b78

View File

@ -58,6 +58,7 @@ class TransactionController extends BaseController
$list = $piggyRepository->get()->merge($repRepository->get());
$piggies = FFForm::makeSelectList($list);
$piggies[0] = '(no piggy bank)';
asort($piggies);
/*
* respond to a possible given values in the URL.