From fd8ed4c9aafe07362b4db7837c3128c1182a0ce9 Mon Sep 17 00:00:00 2001 From: James Cole Date: Thu, 25 Aug 2016 19:19:12 +0200 Subject: [PATCH] Fixed a bug in strict typing. Signed-off-by: James Cole --- app/Http/Controllers/Transaction/MassController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }