mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
fix dashboard number_format error
This commit is contained in:
@@ -124,7 +124,7 @@ class DashboardRepository extends BaseRepository
|
|||||||
$result[$name] = [
|
$result[$name] = [
|
||||||
'name' => $name,
|
'name' => $name,
|
||||||
'text' => nexus_trans("dashboard.user.$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';
|
$name = 'unconfirmed';
|
||||||
$result[$name] = [
|
$result[$name] = [
|
||||||
|
|||||||
Reference in New Issue
Block a user