aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Context.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-12-27 15:18:36 +0100
committerGravatar GitHub <noreply@github.com> 2023-12-27 15:18:36 +0100
commitd65f77c081e756997e59e602f49eeea9b09799ff (patch)
tree0094569a28b089a90ce146ee3782cfbff4fc0be9 /app/Models/Context.php
parente9689645383d37231afa9dbbcd9bd765b804046d (diff)
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
Diffstat (limited to 'app/Models/Context.php')
-rw-r--r--app/Models/Context.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Models/Context.php b/app/Models/Context.php
index 3ea5a29eb..bb6fa4cbd 100644
--- a/app/Models/Context.php
+++ b/app/Models/Context.php
@@ -362,7 +362,7 @@ final class FreshRSS_Context {
if (empty(self::$categories)) {
$catDAO = FreshRSS_Factory::createCategoryDao();
- self::$categories = $catDAO->listCategories();
+ self::$categories = $catDAO->listCategories(true);
}
switch($type) {
@@ -458,7 +458,7 @@ final class FreshRSS_Context {
if (empty(self::$categories)) {
$catDAO = FreshRSS_Factory::createCategoryDao();
- self::$categories = $catDAO->listCategories();
+ self::$categories = $catDAO->listCategories(true);
}
if (FreshRSS_Context::userConf()->onread_jump_next && strlen($get) > 2) {