diff --git a/app/Repositories/DashboardRepository.php b/app/Repositories/DashboardRepository.php index 7616d7bb..550ccb57 100644 --- a/app/Repositories/DashboardRepository.php +++ b/app/Repositories/DashboardRepository.php @@ -124,7 +124,7 @@ class DashboardRepository extends BaseRepository $result[$name] = [ 'name' => $name, 'text' => nexus_trans("dashboard.user.$name"), - 'value' => sprintf('%s / %s', number_format(User::query()->count()), number_format(Setting::get('main.maxusers'))), + 'value' => sprintf('%s / %s', number_format(User::query()->count()), number_format(intval(Setting::get('main.maxusers')))), ]; $name = 'unconfirmed'; $result[$name] = [