diff --git a/app/Http/Controllers/Transaction/MassController.php b/app/Http/Controllers/Transaction/MassController.php index ec44c1ad11..ce2ac3c304 100644 --- a/app/Http/Controllers/Transaction/MassController.php +++ b/app/Http/Controllers/Transaction/MassController.php @@ -75,7 +75,7 @@ class MassController extends Controller /** @var int $journalId */ foreach ($ids as $journalId) { /** @var TransactionJournal $journal */ - $journal = $repository->find($journalId); + $journal = $repository->find(intval($journalId)); if (!is_null($journal->id) && $journalId == $journal->id) { $set->push($journal); }