1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 06:45:54 +00:00

request label counters conditionally

This commit is contained in:
Andrew Dolgov
2021-02-24 15:07:31 +03:00
parent 9313ebf2e7
commit 553548b689
7 changed files with 159 additions and 70 deletions

View File

@@ -1792,6 +1792,9 @@ class Feeds extends Handler_Protected {
}
static function _cats_of(array $feeds, int $owner_uid, bool $with_parents = false) {
if (count($feeds) == 0)
return [];
$pdo = Db::pdo();
$feeds_qmarks = arr_qmarks($feeds);