mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix small bug in reorder routine.
This commit is contained in:
parent
ec18165698
commit
e63f216905
@ -223,7 +223,7 @@ class TransactionController extends Controller
|
||||
if (count($ids) > 0) {
|
||||
$order = 0;
|
||||
foreach ($ids as $id) {
|
||||
$journal = $repository->find($id);
|
||||
$journal = $repository->find(intval($id));
|
||||
if ($journal && $journal->date->format('Y-m-d') == $date->format('Y-m-d')) {
|
||||
$journal->order = $order;
|
||||
$order++;
|
||||
|
Loading…
Reference in New Issue
Block a user