summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2024-02-06 15:09:55 +0000
committerAndrew Dolgov <[email protected]>2024-02-06 15:09:55 +0000
commit373a2fec3add1b7b4bbb8e5e099d37ab9277389e (patch)
tree8b33c15fae7477b2490351e1384e6470a25e511a
parent528fad51fbc01a33565f69e008b9a33c219266df (diff)
parent1dbc4dc475c21e807a756d0d33863a17e79a0f65 (diff)
Merge branch 'bugfix/hook-fetch-feed-auth' into 'master'
Fix passing auth credentials to plugins for HOOK_FETCH_FEED. See merge request tt-rss/tt-rss!23
-rw-r--r--classes/RSSUtils.php2
1 files changed, 1 insertions, 1 deletions
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);