Skip to content

Commit 7b9c4f7

Browse files
committed
fixed omocodia bug
1 parent 6c61e74 commit 7b9c4f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CodiceFiscale/Checker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public function isFormallyCorrect($codiceFiscale)
227227
// replace "omocodie"
228228
for ($i = 0; $i < count($this->listSostOmocodia); $i++) {
229229
if (!is_numeric($cFCharList[$this->listSostOmocodia[$i]])) {
230-
$CFCharList[$this->listSostOmocodia[$i]] = $this->listDecOmocodia[$cFCharList[$this->listSostOmocodia[$i]]];
230+
$cFCharList[$this->listSostOmocodia[$i]] = $this->listDecOmocodia[$cFCharList[$this->listSostOmocodia[$i]]];
231231
}
232232
}
233233

0 commit comments

Comments
 (0)