diff options
| author | wn_ <invalid@email.com> | 2025-08-29 12:19:04 +0000 |
|---|---|---|
| committer | wn_ <invalid@email.com> | 2025-08-29 12:19:04 +0000 |
| commit | e5c5a1bf424754a417abdb25656c99d345dac2f9 (patch) | |
| tree | 5335a6f7e36e996808fb97a2c88dc3e0ca969a2f /classes/API.php | |
| parent | 9aafc7bb8df08c023d3ab781aaf1afcdcf89ce9b (diff) | |
Make 'owner_uid' required for 'Feeds::_get_title()' and 'Feeds::_get_cat_title()'.
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..6255bf81f 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, false, $_SESSION['uid']); $row = [ 'id' => $i, |