Replace with get('groups')

This commit is contained in:
slawkens
2025-03-16 08:43:18 +01:00
parent fddb18d412
commit 613b710d29
8 changed files with 8 additions and 8 deletions

View File

@@ -50,7 +50,7 @@ if(isset($posts[0]['player_id'])) {
}
$lookaddons = $db->hasColumn('players', 'lookaddons');
$groups = new OTS_Groups_List();
$groups = app()->get('groups');
foreach($posts as &$post) {
$post['player'] = new OTS_Player();
$player = $post['player'];