diff options
Diffstat (limited to 'web/lib/stats.inc.php')
-rw-r--r-- | web/lib/stats.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/stats.inc.php b/web/lib/stats.inc.php index da3542a..d63767c 100644 --- a/web/lib/stats.inc.php +++ b/web/lib/stats.inc.php @@ -62,7 +62,7 @@ function general_stats_table() { $q = "SELECT count(*) FROM Users"; $user_count = db_cache_value($q, 'user_count'); - $q = "SELECT count(*) FROM Users,AccountTypes WHERE Users.AccountTypeID = AccountTypes.ID AND AccountTypes.AccountType = 'Trusted User'"; + $q = "SELECT count(*) FROM Users,AccountTypes WHERE Users.AccountTypeID = AccountTypes.ID AND (AccountTypes.AccountType = 'Trusted User' OR AccountTypes.AccountType = 'Trusted User & Developer')"; $tu_count = db_cache_value($q, 'tu_count'); $targstamp = intval(strtotime("-7 days")); |