summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/cron/refresh_stats.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cron/refresh_stats.php b/scripts/cron/refresh_stats.php
index 6ad5e64..5cfa720 100755
--- a/scripts/cron/refresh_stats.php
+++ b/scripts/cron/refresh_stats.php
@@ -149,7 +149,7 @@ function getDataFromLive() {
));
$stats['points_issued'] = number_format(tc(
- "select sum(`points`) as `count` from `notary`"));
+ "select sum(greatest(`points`, `awarded`)) as `count` from `notary`"));
$totalusers=0;
$totassurers=0;