mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-28 09:51:21 -06:00
Fixed a bug in strict typing.
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
This commit is contained in:
parent
6775fc58c8
commit
fd8ed4c9aa
@ -75,7 +75,7 @@ class MassController extends Controller
|
|||||||
/** @var int $journalId */
|
/** @var int $journalId */
|
||||||
foreach ($ids as $journalId) {
|
foreach ($ids as $journalId) {
|
||||||
/** @var TransactionJournal $journal */
|
/** @var TransactionJournal $journal */
|
||||||
$journal = $repository->find($journalId);
|
$journal = $repository->find(intval($journalId));
|
||||||
if (!is_null($journal->id) && $journalId == $journal->id) {
|
if (!is_null($journal->id) && $journalId == $journal->id) {
|
||||||
$set->push($journal);
|
$set->push($journal);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user