diff --git a/src/pages/profile.php b/src/pages/profile.php index 6a7c5a93..ceff887b 100644 --- a/src/pages/profile.php +++ b/src/pages/profile.php @@ -341,7 +341,7 @@ $page->navigation(); = CURDATE() - INTERVAL 30 DAY'; + $user_is_active = '`last_login` >= CURDATE() - INTERVAL 60 DAY'; $count_users = $database ->query('SELECT COUNT(`id`) @@ -350,7 +350,7 @@ $page->navigation(); ->fetch(); $count_users = reset($count_users); - $count_users_needed_minimum = 1; + $count_users_needed_minimum = 3; $count_users_needed_maximum = 100; $count_users_needed = min( $count_users_needed_maximum,