Fixed a bug in strict typing.

Signed-off-by: James Cole <thegrumpydictator@gmail.com>
This commit is contained in:
James Cole 2016-08-25 19:19:12 +02:00
parent 6775fc58c8
commit fd8ed4c9aa
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -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);
}