瀏覽代碼

Allow manual refresh of disabled feeds (#6408)

fix https://github.com/FreshRSS/FreshRSS/issues/6407
Alexandre Alapetite 1 年之前
父節點
當前提交
cd8fc428cb
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Controllers/feedController.php

+ 2 - 2
app/Controllers/feedController.php

@@ -455,8 +455,8 @@ class FreshRSS_feed_Controller extends FreshRSS_ActionController {
 				continue;	//When PubSubHubbub is used, do not pull refresh so often
 			}
 
-			if ($feed->mute()) {
-				continue;	//Feed refresh is disabled
+			if ($feed->mute() && $feed_id === null) {
+				continue;	// If the feed is disabled, only allow refresh if manually requested for that specific feed
 			}
 			$mtime = $feed->cacheModifiedTime() ?: 0;
 			$ttl = $feed->ttl();