From cf9ea83f50041e0fdee68e7d78299b0a9e32fc80 Mon Sep 17 00:00:00 2001 From: Daniel Guzman Date: Thu, 25 Jul 2024 01:10:59 +0200 Subject: [PATCH] Fix --- src/Dto/SeasonDto.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']; }