mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Remove todo from code, as we are supposed to.
This commit is contained in:
@@ -139,7 +139,6 @@ class SplitController extends Controller
|
|||||||
|
|
||||||
// need to do some validation!
|
// need to do some validation!
|
||||||
// sum of amount must be > 0
|
// sum of amount must be > 0
|
||||||
// TODO move to proper validator
|
|
||||||
$sum = '0';
|
$sum = '0';
|
||||||
foreach ($data['transactions'] as $transaction) {
|
foreach ($data['transactions'] as $transaction) {
|
||||||
Session::flash('error',strval(trans('validation.amount_zero')));
|
Session::flash('error',strval(trans('validation.amount_zero')));
|
||||||
|
Reference in New Issue
Block a user