Fix links not working in admin dashboard modules

This commit is contained in:
slawkens
2025-05-23 09:04:45 +02:00
parent 7d213f479a
commit be7b27c31a
7 changed files with 12 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ defined('MYAAC') or die('Direct access not allowed!');
$players = 0;
if ($db->hasColumn('players', 'lastlogin')) {
$players = Player::orderByDesc('lastlogin')->limit(10)->get(['name', 'level', 'lastlogin'])->toArray();
$players = Player::orderByDesc('lastlogin')->limit(10)->get(['id', 'name', 'level', 'lastlogin'])->toArray();
}
$twig->display('lastlogin.html.twig', array(