Tweak newsletter subscriber count query in donations page

This commit is contained in:
Alex Cabal 2022-09-01 13:35:52 -05:00
parent 40c5fdb3e3
commit 5f473f4bc2

View file

@ -1,7 +1,7 @@
<? <?
require_once('Core.php'); require_once('Core.php');
$newsletterSubscriberCount = floor(Db::QueryInt('SELECT count(*) from NewsletterSubscriptions') / 100) * 100; $newsletterSubscriberCount = floor(Db::QueryInt('SELECT count(*) from NewsletterSubscriptions where IsConfirmed = true') / 100) * 100;
?><?= Template::Header(['title' => 'Donate', 'highlight' => 'donate', 'description' => 'Donate to Standard Ebooks.']) ?> ?><?= Template::Header(['title' => 'Donate', 'highlight' => 'donate', 'description' => 'Donate to Standard Ebooks.']) ?>
<main> <main>