mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-05 07:20:58 +08:00
fix dashboard number_format error
This commit is contained in:
@@ -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] = [
|
||||
|
||||
Reference in New Issue
Block a user