update_rss_feed: add log message if article is filtered out

combine filters: fix crash on missing global function
This commit is contained in:
Andrew Dolgov 2018-12-08 17:01:30 +03:00
parent b08ce13825
commit f3737c0b24
2 changed files with 2 additions and 1 deletions

View File

@ -923,6 +923,7 @@ class RSSUtils {
$entry_ref_id = $ref_id;
if (RSSUtils::find_article_filter($article_filters, "filter")) {
Debug::log("article is filtered out, nothing to do.");
$pdo->commit();
continue;
}

View File

@ -101,7 +101,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio
});
},
joinSelectedFilters: function() {
const rows = getSelectedFilters();
const rows = this.getSelectedFilters();
if (rows.length == 0) {
alert(__("No filters selected."));