Fix small bug in reorder routine.

This commit is contained in:
James Cole 2016-06-15 09:58:33 +02:00
parent ec18165698
commit e63f216905

View File

@ -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++;