diff options
author | Andrew Dolgov <[email protected]> | 2011-04-21 15:52:41 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-04-21 15:52:41 +0400 |
commit | d206ae1d6a2c5cbd213cbaaeef03e9d8e15c9e88 (patch) | |
tree | 5b00125f407cd8912c0251de7bfcfd3a0ab24bdd | |
parent | 207d8118b41aa5304c69e00d914a0fbbf4e6463f (diff) |
update_feedbrowser_cache: properly skip feeds with configured authentication
-rw-r--r-- | functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php index f966a9a0a..e66c84aee 100644 --- a/functions.php +++ b/functions.php @@ -5884,7 +5884,7 @@ $result = db_query($link, "SELECT feed_url, site_url, title, COUNT(id) AS subscribers FROM ttrss_feeds WHERE (SELECT COUNT(id) = 0 FROM ttrss_feeds AS tf WHERE tf.feed_url = ttrss_feeds.feed_url - AND (private IS true OR feed_url LIKE '%:%@%/%')) + AND (private IS true OR auth_login != '' OR auth_pass != '' OR feed_url LIKE '%:%@%/%')) GROUP BY feed_url, site_url, title ORDER BY subscribers DESC LIMIT 1000"); db_query($link, "BEGIN"); |