summaryrefslogtreecommitdiff
path: root/classes/feeds.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/feeds.php')
-rwxr-xr-xclasses/feeds.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/feeds.php b/classes/feeds.php
index a9afb70f2..3c0578782 100755
--- a/classes/feeds.php
+++ b/classes/feeds.php
@@ -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 {