// invalid rules should not normally appear in the database, but it's possible
// invalid rules should not normally appear in the database, but it's possible
// in this case we should halt evaluation and just leave things as they are
// in this case we should halt evaluation and just leave things as they are
return;
return; // @codeCoverageIgnore
}
}
$articles = $this->db->prepare("SELECT id, title, coalesce(categories, 0) as categories from arsse_articles as a join (select article, count(*) as categories from arsse_categories group by article) as c on a.id = c.article where a.feed = ?", "int")->run($feed)->getAll();
$articles = $this->db->prepare("SELECT id, title, coalesce(categories, 0) as categories from arsse_articles as a left join (select article, count(*) as categories from arsse_categories group by article) as c on a.id = c.article where a.feed = ?", "int")->run($feed)->getAll();
$hide = [];
$hide = [];
$unhide = [];
$unhide = [];
foreach ($articles as $r) {
foreach ($articles as $r) {
// retrieve the list of categories if the article has any
// retrieve the list of categories if the article has any