From 1dbc4dc475c21e807a756d0d33863a17e79a0f65 Mon Sep 17 00:00:00 2001 From: wn_ Date: Tue, 6 Feb 2024 12:50:26 +0000 Subject: [PATCH] Fix passing auth credentials to plugins for HOOK_FETCH_FEED. --- classes/RSSUtils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/RSSUtils.php b/classes/RSSUtils.php index 742d96b2f..a2bd36a75 100644 --- a/classes/RSSUtils.php +++ b/classes/RSSUtils.php @@ -444,7 +444,7 @@ class RSSUtils { $feed_data = $result; Debug::log(sprintf("=== %.4f (sec) %s", microtime(true) - $start_ts, get_class($plugin)), Debug::LOG_VERBOSE); }, - $feed_data, $hff_feed_url, $hff_owner_uid, $feed, $last_article_timestamp, $auth_login, $auth_pass); + $feed_data, $hff_feed_url, $hff_owner_uid, $feed, $last_article_timestamp, $feed_obj->auth_login, $feed_obj->auth_pass); if ($feed_data) { Debug::log("feed data has been modified by a plugin.", Debug::LOG_VERBOSE);