From 4004fae55fe61ceb90054092c3b1e4a4dc0ddca9 Mon Sep 17 00:00:00 2001 From: Just Thomas Misund Date: Wed, 11 Apr 2012 13:52:42 +0200 Subject: [PATCH] Including lifelong memberships in stats. --- stats/members.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stats/members.php b/stats/members.php index a6ae78a..909a089 100644 --- a/stats/members.php +++ b/stats/members.php @@ -1,6 +1,6 @@ NOW();"; + $sql = "SELECT COUNT(*) FROM din_user WHERE expires > NOW() OR expires IS NULL;"; $rows = $conn->getAll($sql); if( DB::isError($rows) ) { return json_encode( array('result' => 'db_error') );