mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-26 08:16:32 -06:00
Fix null pointer.
This commit is contained in:
parent
5a7152ceec
commit
69ee691497
@ -427,7 +427,8 @@ class AccountController extends Controller
|
||||
*/
|
||||
public function period(Account $account, Carbon $start, Carbon $end): JsonResponse
|
||||
{
|
||||
$cache = new CacheProperties;
|
||||
$chartData = [];
|
||||
$cache = new CacheProperties;
|
||||
$cache->addProperty('chart.account.period');
|
||||
$cache->addProperty($start);
|
||||
$cache->addProperty($end);
|
||||
|
Loading…
Reference in New Issue
Block a user