From 30ccf46f9893ffac0258d83f30e2ba0c3943700f Mon Sep 17 00:00:00 2001 From: Dario Rekowski on RockPI Date: Thu, 12 Aug 2021 14:27:15 +0000 Subject: [PATCH] fix fix --- community_server/src/Controller/StateBalancesController.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/community_server/src/Controller/StateBalancesController.php b/community_server/src/Controller/StateBalancesController.php index 676fdf769..249b6cb06 100644 --- a/community_server/src/Controller/StateBalancesController.php +++ b/community_server/src/Controller/StateBalancesController.php @@ -199,8 +199,10 @@ class StateBalancesController extends AppController if('success' === $requestResult['state'] && 'success' === $requestResult['data']['state']) { $moreEntrysAsShown = false; - if(isset($requestResult['data']['count']) && $requestResult['data']['count'] > 100) { - $moreEntrysAsShown = true; + if(isset($requestResult['data']['count'])) { + if($requestResult['data']['count'] > 100) { + $moreEntrysAsShown = true; + } } else { $moreEntrysAsShown = $requestResult['data']['moreEntrysAsShown']; }