Skip to content

Commit

Permalink
Teams: Fix argument not int in teams view (#1123)
Browse files Browse the repository at this point in the history
  • Loading branch information
blackcoder87 authored Nov 27, 2024
1 parent b83b5e7 commit 6d8cee4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion application/modules/teams/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Config extends \Ilch\Config\Install
{
public $config = [
'key' => 'teams',
'version' => '1.24.1',
'version' => '1.24.2',
'icon_small' => 'fa-solid fa-users',
'author' => 'Veldscholten, Kevin',
'link' => 'https://ilch.de',
Expand Down
4 changes: 2 additions & 2 deletions application/modules/teams/views/index/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
<div class="col-xl-12">
<?php
$groupList = $groupMapper->getUsersForGroup($team->getGroupId());
$leaderIds = explode(',', $team->getLeader());
$coLeaderIds = explode(',', $team->getCoLeader());
$leaderIds = $team->getLeader() ? explode(',', $team->getLeader()) : [];
$coLeaderIds = $team->getCoLeader() ? explode(',', $team->getCoLeader()) : [];
$groupList = array_unique(array_merge($leaderIds, $coLeaderIds, $groupList));
?>
<div class="table-responsive">
Expand Down

0 comments on commit 6d8cee4

Please sign in to comment.