Missing default variable.

This commit is contained in:
James Cole 2020-08-25 06:10:52 +02:00
parent d28394c5d9
commit 20e39b2e12
No known key found for this signature in database
GPG Key ID: B5669F9493CDE38D

View File

@ -215,6 +215,7 @@ class SelectController extends Controller
$collection = $newRuleEngine->find();
$collection = $collection->slice(0, 20);
$warning = '';
if (0 === count($collection)) {
$warning = (string) trans('firefly.warning_no_matching_transactions'); // @codeCoverageIgnore
}