mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-20 04:23:26 +02:00
Replace with get('groups')
This commit is contained in:
@@ -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'];
|
||||
|
Reference in New Issue
Block a user