mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-30 20:54:04 -06:00
Update AccountController.php
This commit is contained in:
parent
34ac9bc71a
commit
37f78985ae
@ -297,7 +297,7 @@ class AccountController extends Controller
|
||||
$collector->setRange($start, $end);
|
||||
}
|
||||
$journals = $collector->getPaginatedJournals();
|
||||
$journals->setPath('accounts/show/' . $moment . '/' . $account->id);
|
||||
$journals->setPath('accounts/show/' . $account->id . '/' . $moment);
|
||||
$count = $journals->getCollection()->count();
|
||||
if ($count === 0) {
|
||||
$start->subDay();
|
||||
|
Loading…
Reference in New Issue
Block a user