mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 08:35:00 +00:00
worked in feedback by JC5
This commit is contained in:
@@ -165,7 +165,7 @@ class TransactionLinkController extends Controller
|
||||
$inward = $this->journalRepository->findNull($data['inward_id'] ?? 0);
|
||||
$outward = $this->journalRepository->findNull($data['outward_id'] ?? 0);
|
||||
if (null === $inward || null === $outward) {
|
||||
throw new FireflyException(trans('error_source_or_dest_null'));
|
||||
throw new FireflyException(trans('api.error_source_or_dest_null'));
|
||||
}
|
||||
$data['direction'] = 'inward';
|
||||
|
||||
|
Reference in New Issue
Block a user