diff options
| author | 2024-11-29 12:32:44 +0100 | |
|---|---|---|
| committer | 2024-11-29 12:32:44 +0100 | |
| commit | aaa4acf2a33da276039e6342ae34abead143fd8e (patch) | |
| tree | 8e67882de018367bf55f8344cccb14c415e8bd13 /p/api | |
| parent | 35bf292635e33ddd055c545fc7b87d6635269608 (diff) | |
API return all categories also without any feed (#7020)
https://github.com/FreshRSS/FreshRSS/issues/7013#issuecomment-2495281874
Diffstat (limited to 'p/api')
| -rw-r--r-- | p/api/greader.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p/api/greader.php b/p/api/greader.php index 4f288bb03..8833693c3 100644 --- a/p/api/greader.php +++ b/p/api/greader.php @@ -282,7 +282,7 @@ final class GReaderAPI { // ['id' => 'user/-/state/com.google/broadcast', 'sortid' => '2'] ]; $categoryDAO = FreshRSS_Factory::createCategoryDao(); - $categories = $categoryDAO->listCategories(true, false) ?: []; + $categories = $categoryDAO->listCategories(prePopulateFeeds: false, details: false) ?: []; foreach ($categories as $cat) { $tags[] = [ 'id' => 'user/-/label/' . htmlspecialchars_decode($cat->name(), ENT_QUOTES), |
