diff options
| author | wn <4-wn@users.noreply.gitlab.tt-rss.org> | 2025-08-29 10:03:27 -0500 |
|---|---|---|
| committer | wn <4-wn@users.noreply.gitlab.tt-rss.org> | 2025-08-29 10:03:27 -0500 |
| commit | 98dbf4973380a525cbdeb542786838de10ad6d08 (patch) | |
| tree | d0225325d81687fbaaf825f9184f133a09003f80 /classes/API.php | |
| parent | 57cd48d9f73478dcd315deb0fd5dab1a756f44fc (diff) | |
| parent | ecef0ae9512a3227221e107fe47dab91da6e5f4c (diff) | |
Merge branch 'bugfix/published-feed-title' into 'master'
Fix getting the title for syndicated feeds.
See merge request tt-rss/tt-rss!182
Diffstat (limited to 'classes/API.php')
| -rw-r--r-- | classes/API.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/API.php b/classes/API.php index 03f5a2502..4b49e4b37 100644 --- a/classes/API.php +++ b/classes/API.php @@ -175,7 +175,7 @@ class API extends Handler { if ($unread || !$unread_only) { array_push($cats, [ 'id' => $cat_id, - 'title' => Feeds::_get_cat_title($cat_id), + 'title' => Feeds::_get_cat_title($cat_id, $_SESSION['uid']), 'unread' => (int) $unread, ]); } @@ -574,7 +574,7 @@ class API extends Handler { $unread = Feeds::_get_counters($i, false, true); if ($unread || !$unread_only) { - $title = Feeds::_get_title($i); + $title = Feeds::_get_title($i, $_SESSION['uid']); $row = [ 'id' => $i, |