diff --git a/src/Dto/SeasonDto.php b/src/Dto/SeasonDto.php index 8b51c2bf..9b4bd5cd 100644 --- a/src/Dto/SeasonDto.php +++ b/src/Dto/SeasonDto.php @@ -71,7 +71,7 @@ class SeasonDto { $this->pointsPerWin = (int) $dataList['pointsPerWin']; } - if (empty($dataList['pointsPerDraw'])) + if (!empty($dataList['pointsPerDraw'])) { $this->pointsPerDraw = (int) $dataList['pointsPerDraw']; }