From d65f77c081e756997e59e602f49eeea9b09799ff Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 27 Dec 2023 15:18:36 +0100 Subject: More robust assignment of categories to feeds (#5986) Several minor cases, none of which should really be necessary Might help: https://github.com/FreshRSS/FreshRSS/issues/5981 https://github.com/FreshRSS/FreshRSS/issues/5982 --- app/Controllers/statsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controllers/statsController.php') diff --git a/app/Controllers/statsController.php b/app/Controllers/statsController.php index 4ecd7fa2b..f40f0dd29 100644 --- a/app/Controllers/statsController.php +++ b/app/Controllers/statsController.php @@ -221,7 +221,7 @@ class FreshRSS_stats_Controller extends FreshRSS_ActionController { $id = null; } - $this->view->categories = $categoryDAO->listCategories() ?: []; + $this->view->categories = $categoryDAO->listCategories(true) ?: []; $this->view->feed = $id === null ? null : $feedDAO->searchById($id); $this->view->days = $statsDAO->getDays(); $this->view->months = $statsDAO->getMonths(); -- cgit v1.2.3