diff options
Diffstat (limited to 'classes/feeds.php')
-rwxr-xr-x | classes/feeds.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/feeds.php b/classes/feeds.php index 3c0578782..2a4fe4993 100755 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -1359,6 +1359,7 @@ class Feeds extends Handler_Protected { $sth->execute([$user_id]); $row = $sth->fetch(); + // Handle 'SUM()' returning null if there are no articles/results (e.g. admin user with no feeds) return $row["count"] ?? 0; } |