Improve custom role table, add isPublic property to League table
This commit is contained in:
@@ -46,6 +46,14 @@ class LeagueFactory
|
||||
{
|
||||
$leagueEntity->setCity($leagueDto->city);
|
||||
}
|
||||
if (!empty($leagueDto->isPublic))
|
||||
{
|
||||
$leagueEntity->setIsPublic($leagueDto->isPublic);
|
||||
}
|
||||
else
|
||||
{
|
||||
$leagueEntity->setIsPublic(true);
|
||||
}
|
||||
$leagueEntity->setActive(true);
|
||||
return $leagueEntity;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user