Add a note on why ed74c43f18 was needed.

This commit is contained in:
wn_ 2021-12-14 12:47:25 +00:00
parent ed74c43f18
commit ddc81b2c89
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}