diff --git a/src/Readers/Swar6.php b/src/Readers/Swar6.php index 5688bc3..7c9009d 100644 --- a/src/Readers/Swar6.php +++ b/src/Readers/Swar6.php @@ -285,8 +285,8 @@ class Swar6 implements ReaderInterface $custompoints['presence'] = $this->readData('Int', $swshandle) / 4; $this->Tournament->IsPresencePoints = (bool)$this->readData('Int', $swshandle); if(!$this->Tournament->IsPresencePoints) { - $custompoints['absence'] = $custompoints['presence']; - unset($custompoints['presence']) + $custompoints['absence'] = 0; + unset($custompoints['presence']); } if($applycustompoints) $this->Tournament->CustomPoints = $custompoints; $this->Tournament->TournoiStd = $this->readData('Int', $swshandle);