mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-08-09 15:47:21 +02:00
Handle the admin user not having any entries in 'Feeds::_get_global_unread'.
This commit is contained in:
parent
471f97ca82
commit
ed74c43f18
@ -1359,7 +1359,7 @@ class Feeds extends Handler_Protected {
|
||||
$sth->execute([$user_id]);
|
||||
$row = $sth->fetch();
|
||||
|
||||
return $row["count"];
|
||||
return $row["count"] ?? 0;
|
||||
}
|
||||
|
||||
static function _get_cat_title(int $cat_id): string {
|
||||
|
Loading…
Reference in New Issue
Block a user