summaryrefslogtreecommitdiff
path: root/classes/Pref_Feeds.php
diff options
context:
space:
mode:
authorwn_ <invalid@email.com>2025-08-29 12:27:44 +0000
committerwn_ <invalid@email.com>2025-08-29 12:28:05 +0000
commitecef0ae9512a3227221e107fe47dab91da6e5f4c (patch)
treed0225325d81687fbaaf825f9184f133a09003f80 /classes/Pref_Feeds.php
parentfd5ce90efed38d32d0874dc7b0258e3e0ec1f67e (diff)
Tweak the 'Feeds::_get_title()' param order to make PHP happy.
Required params need to go before optional.
Diffstat (limited to 'classes/Pref_Feeds.php')
-rw-r--r--classes/Pref_Feeds.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/Pref_Feeds.php b/classes/Pref_Feeds.php
index 2e3821c45..e27a9ccbd 100644
--- a/classes/Pref_Feeds.php
+++ b/classes/Pref_Feeds.php
@@ -1115,7 +1115,7 @@ class Pref_Feeds extends Handler_Protected {
*/
private function feedlist_init_feed(int $feed_id, ?string $title = null, bool $unread = false, string $error = '', string $updated = ''): array {
if (!$title)
- $title = Feeds::_get_title($feed_id, false, $_SESSION['uid']);
+ $title = Feeds::_get_title($feed_id, $_SESSION['uid']);
if ($unread === false)
$unread = Feeds::_get_counters($feed_id, false, true);
@@ -1284,7 +1284,7 @@ class Pref_Feeds extends Handler_Protected {
]);
print json_encode([
- "title" => Feeds::_get_title($feed_id, $is_cat, $_SESSION['uid']),
+ "title" => Feeds::_get_title($feed_id, $_SESSION['uid'], $is_cat),
"link" => $link
]);
}