Add a note on why ed74c43f18
was needed.
This commit is contained in:
parent
ed74c43f18
commit
ddc81b2c89
|
@ -1359,6 +1359,7 @@ class Feeds extends Handler_Protected {
|
||||||
$sth->execute([$user_id]);
|
$sth->execute([$user_id]);
|
||||||
$row = $sth->fetch();
|
$row = $sth->fetch();
|
||||||
|
|
||||||
|
// Handle 'SUM()' returning null if there are no articles/results (e.g. admin user with no feeds)
|
||||||
return $row["count"] ?? 0;
|
return $row["count"] ?? 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue