aboutsummaryrefslogtreecommitdiff
path: root/p/api/greader.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-11-04 12:49:21 +0100
committerGravatar GitHub <noreply@github.com> 2025-11-04 12:49:21 +0100
commitb6c63d223931382aae84dc6d394cdd1bb58121bc (patch)
treef512ea0f11873f89740cb7692442d11b26d59ee3 /p/api/greader.php
parent7d4854a0a4f5665db599f18c34035786465639f3 (diff)
Better transitions between groups of articles (#8174)
fix https://github.com/FreshRSS/FreshRSS/issues/7520 fix https://github.com/FreshRSS/FreshRSS/issues/8168 fix https://github.com/FreshRSS/FreshRSS/discussions/8172
Diffstat (limited to 'p/api/greader.php')
-rw-r--r--p/api/greader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/api/greader.php b/p/api/greader.php
index 1986b8c3d..144508ad4 100644
--- a/p/api/greader.php
+++ b/p/api/greader.php
@@ -414,7 +414,7 @@ final class GReaderAPI {
}
}
$c_name = htmlspecialchars($c_name, ENT_COMPAT, 'UTF-8');
- if (in_array($c_name, ['', 'Uncategorized', _t('gen.short.default_category')], true)) {
+ if (in_array($c_name, ['', FreshRSS_CategoryDAO::DEFAULT_CATEGORY_NAME, _t('gen.short.default_category')], true)) {
$addCatId = FreshRSS_CategoryDAO::DEFAULTCATEGORYID;
} else {
$categoryDAO = FreshRSS_Factory::createCategoryDao();