Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
simba77 committed Apr 11, 2022
1 parent 2a6ba54 commit ba17054
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions modules/johncms/personal/config/routes.php
Expand Up @@ -27,10 +27,4 @@
$route->get('/settings[/]', [SettingsController::class, 'index'])->setName('personal.settings');
$route->post('/settings/store[/]', [SettingsController::class, 'store'])->setName('personal.settings.store');
})->lazyMiddleware(AuthorizedUserMiddleware::class);

$router->get('/personal/{id:number}[/]', [PersonalController::class, 'index'])->setName('personal.index');


// Профиль пользователя

};
2 changes: 1 addition & 1 deletion system/src/Counters.php
Expand Up @@ -392,7 +392,7 @@ public function usersCounters(): array

return [
'total' => $total,
'new' => $new,
'new' => $new ?? 0,
];
}

Expand Down

0 comments on commit ba17054

Please sign in to comment.