diff --git a/src/Validator.php b/src/Validator.php index 0b4c90a..0933c19 100644 --- a/src/Validator.php +++ b/src/Validator.php @@ -75,7 +75,7 @@ private function getBornDate() // Get born date if($isFemale) $NIKdate -= 40; - $date = ($NIKdate > 10) ? strval($NIKdate) : "0$NIKdate"; + $date = ($NIKdate >= 10) ? strval($NIKdate) : "0$NIKdate"; // Get born month $month = substr($this->nik, 8, 2); // Get born year