seriesreviews.php: rate-only submissions count toward the series rating (issue #11)
author Danilo Stern-Sapad
()
committer Danilo Stern-Sapad
()
commit 26ee69617eb8ff7d9a08f79221b121b3a73a5dbb
tree 54c92d3aa90a01ce5cf58aea975d0cd3f49b933b
parent d7a3e29eb13e98859c5d291a527e04f7046c85a4
seriesreviews.php: rate-only submissions count toward the series rating (issue #11)

The rating UPDATE was gated on the text-review count, which is 0 when
Allow Ratings Only is on, so the recomputed rating never landed. Both
gates (the series and the parent walk) now key on the rating aggregate;
AVG's NULL still keeps the update silent when nothing was rated, and
the ?? 0 in the guarded lines is gone (PHP 5 friendly, see issue #10).
includes/seriesreviews.php